{"action":"opened","issue":{"url":"https://api.github.com/repos/openfl/openfl/issues/1822","repository_url":"https://api.github.com/repos/openfl/openfl","labels_url":"https://api.github.com/repos/openfl/openfl/issues/1822/labels{/name}","comments_url":"https://api.github.com/repos/openfl/openfl/issues/1822/comments","events_url":"https://api.github.com/repos/openfl/openfl/issues/1822/events","html_url":"https://github.com/openfl/openfl/issues/1822","id":298804957,"number":1822,"title":"Recent change breaks flash compatibility on empty TextFields","user":{"login":"chatziko","id":362089,"avatar_url":"https://avatars3.githubusercontent.com/u/362089?v=4","gravatar_id":"","url":"https://api.github.com/users/chatziko","html_url":"https://github.com/chatziko","followers_url":"https://api.github.com/users/chatziko/followers","following_url":"https://api.github.com/users/chatziko/following{/other_user}","gists_url":"https://api.github.com/users/chatziko/gists{/gist_id}","starred_url":"https://api.github.com/users/chatziko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chatziko/subscriptions","organizations_url":"https://api.github.com/users/chatziko/orgs","repos_url":"https://api.github.com/users/chatziko/repos","events_url":"https://api.github.com/users/chatziko/events{/privacy}","received_events_url":"https://api.github.com/users/chatziko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-21T00:55:27Z","updated_at":"2018-02-21T00:55:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"f780534070631f4aa95f2b3321e20412fb3ddf7a changes the behaviour of `textHeight` for empty `TextFields`. However, the new behaviour is incompatible with flash's. This trivial example ([empty-textfield-test.zip](https://github.com/openfl/openfl/files/1742456/empty-textfield-test.zip)) demonstrates this.\r\n\r\n* With f780534070631f4aa95f2b3321e20412fb3ddf7a\r\n  - html5: `textHeight: 11.85`\r\n  - flash: `textHeight: 0`\r\n* Without f780534070631f4aa95f2b3321e20412fb3ddf7a\r\n  - html5: `textHeight: 0`\r\n  - flash: `textHeight: 0`\r\n\r\nThis is unfortunate when porting flash games.\r\n\r\n"}}
{"actor":{"display_login":"chatziko"}}