{"action":"closed","issue":{"url":"https://api.github.com/repos/bpampuch/pdfmake/issues/1435","repository_url":"https://api.github.com/repos/bpampuch/pdfmake","labels_url":"https://api.github.com/repos/bpampuch/pdfmake/issues/1435/labels{/name}","comments_url":"https://api.github.com/repos/bpampuch/pdfmake/issues/1435/comments","events_url":"https://api.github.com/repos/bpampuch/pdfmake/issues/1435/events","html_url":"https://github.com/bpampuch/pdfmake/issues/1435","id":340907733,"node_id":"MDU6SXNzdWUzNDA5MDc3MzM=","number":1435,"title":"QR codes don't add any additional page height if page height is set to 'auto'","user":{"login":"toschwa","id":37665674,"node_id":"MDQ6VXNlcjM3NjY1Njc0","avatar_url":"https://avatars0.githubusercontent.com/u/37665674?v=4","gravatar_id":"","url":"https://api.github.com/users/toschwa","html_url":"https://github.com/toschwa","followers_url":"https://api.github.com/users/toschwa/followers","following_url":"https://api.github.com/users/toschwa/following{/other_user}","gists_url":"https://api.github.com/users/toschwa/gists{/gist_id}","starred_url":"https://api.github.com/users/toschwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toschwa/subscriptions","organizations_url":"https://api.github.com/users/toschwa/orgs","repos_url":"https://api.github.com/users/toschwa/repos","events_url":"https://api.github.com/users/toschwa/events{/privacy}","received_events_url":"https://api.github.com/users/toschwa/received_events","type":"User","site_admin":false},"labels":[{"id":76180498,"node_id":"MDU6TGFiZWw3NjE4MDQ5OA==","url":"https://api.github.com/repos/bpampuch/pdfmake/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-13T07:14:02Z","updated_at":"2018-08-23T12:05:27Z","closed_at":"2018-08-23T12:05:27Z","author_association":"NONE","body":"The calculation for 'auto' page height seems to be broken for QR Codes aswell.\r\nQR codes seem to have an item height of 0, so no space will be added for them at all.\r\nYou can test this in the PDFMake playground using:\r\n```\r\nvar dd = {\r\n    pageSize: { width: 562, height: 'auto' },\r\n\tcontent: [\r\n        {qr: 'text', alignment: 'center'}\r\n\t]\r\n}\r\n```\r\nIf you remove the QR code the page will still have the same height."}}
{"actor":{"display_login":"liborm85"}}