{"action":"closed","issue":{"url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/1524","repository_url":"https://api.github.com/repos/eclipsesource/tabris-js","labels_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/1524/labels{/name}","comments_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/1524/comments","events_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/1524/events","html_url":"https://github.com/eclipsesource/tabris-js/issues/1524","id":265486495,"number":1524,"title":"Resize event parameters of the ui#contentView are incorrect","user":{"login":"elshadsm","id":13982125,"avatar_url":"https://avatars2.githubusercontent.com/u/13982125?v=4","gravatar_id":"","url":"https://api.github.com/users/elshadsm","html_url":"https://github.com/elshadsm","followers_url":"https://api.github.com/users/elshadsm/followers","following_url":"https://api.github.com/users/elshadsm/following{/other_user}","gists_url":"https://api.github.com/users/elshadsm/gists{/gist_id}","starred_url":"https://api.github.com/users/elshadsm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elshadsm/subscriptions","organizations_url":"https://api.github.com/users/elshadsm/orgs","repos_url":"https://api.github.com/users/elshadsm/repos","events_url":"https://api.github.com/users/elshadsm/events{/privacy}","received_events_url":"https://api.github.com/users/elshadsm/received_events","type":"User","site_admin":false},"labels":[{"id":99273081,"url":"https://api.github.com/repos/eclipsesource/tabris-js/labels/bug","name":"bug","color":"d93f0b","default":true},{"id":317919075,"url":"https://api.github.com/repos/eclipsesource/tabris-js/labels/ios","name":"ios","color":"007aff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-14T11:59:12Z","updated_at":"2017-10-16T11:17:59Z","closed_at":"2017-10-16T11:17:59Z","author_association":"NONE","body":"### Problem description\r\n\r\nWhen we set resize event listener for the ui#contentView, we get incorrect height and width values which is 0. \r\n\r\n### Expected behavior\r\n\r\nWe must get real size values for the resize event of the ui#contentView.\r\n\r\n### Environment\r\n\r\n- Tabris.js version: 2.1\r\n- Device: iPhone 6\r\n- OS: 11.0.2\r\n\r\n### Code snippet\r\n\r\n```javascript\r\nconst {Composite, ui} = require('tabris');\r\n\r\nnew Composite({\r\n  left: 0, top: 0, right: 0, bottom: 0,\r\n  background: 'yellow'\r\n}).appendTo(ui.contentView);\r\n\r\nui.contentView.on('resize', ({width, height}) => console.log('width: ' + width + ' height: ' + height));\r\n```\r\n"}}
{"actor":{"display_login":"review-squirrel"}}