{"action":"created","issue":{"url":"https://api.github.com/repos/wireapp/wire-ios/issues/1760","repository_url":"https://api.github.com/repos/wireapp/wire-ios","labels_url":"https://api.github.com/repos/wireapp/wire-ios/issues/1760/labels{/name}","comments_url":"https://api.github.com/repos/wireapp/wire-ios/issues/1760/comments","events_url":"https://api.github.com/repos/wireapp/wire-ios/issues/1760/events","html_url":"https://github.com/wireapp/wire-ios/pull/1760","id":299754458,"node_id":"MDExOlB1bGxSZXF1ZXN0MTcxMDQ2OTg2","number":1760,"title":"ZIOS-9649: Fix for TailEditingTextField width on iOS 10","user":{"login":"nicorsm","id":2906234,"node_id":"MDQ6VXNlcjI5MDYyMzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2906234?v=4","gravatar_id":"","url":"https://api.github.com/users/nicorsm","html_url":"https://github.com/nicorsm","followers_url":"https://api.github.com/users/nicorsm/followers","following_url":"https://api.github.com/users/nicorsm/following{/other_user}","gists_url":"https://api.github.com/users/nicorsm/gists{/gist_id}","starred_url":"https://api.github.com/users/nicorsm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicorsm/subscriptions","organizations_url":"https://api.github.com/users/nicorsm/orgs","repos_url":"https://api.github.com/users/nicorsm/repos","events_url":"https://api.github.com/users/nicorsm/events{/privacy}","received_events_url":"https://api.github.com/users/nicorsm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-23T15:45:14Z","updated_at":"2018-10-17T15:04:43Z","closed_at":"2018-02-23T16:42:06Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/wireapp/wire-ios/pulls/1760","html_url":"https://github.com/wireapp/wire-ios/pull/1760","diff_url":"https://github.com/wireapp/wire-ios/pull/1760.diff","patch_url":"https://github.com/wireapp/wire-ios/pull/1760.patch"},"body":"## What's new in this PR?\r\n\r\n### Issues\r\n\r\nThe width of the input field inside `TailEditingTextField` (used in `SettingsCell`) was not updated after typing something inside it, only on iOS 10. So, for example, if you write a short display name inside the Account settings, you go back and return on that screen, the width of the text field doesn't get updated until you press the spacebar.\r\n\r\n### Solutions\r\n\r\nI'm setting the `text` property of the text field every time. This is causing the text field to update its frame."},"comment":{"url":"https://api.github.com/repos/wireapp/wire-ios/issues/comments/430665707","html_url":"https://github.com/wireapp/wire-ios/pull/1760#issuecomment-430665707","issue_url":"https://api.github.com/repos/wireapp/wire-ios/issues/1760","id":430665707,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDY2NTcwNw==","user":{"login":"billypchan","id":11852044,"node_id":"MDQ6VXNlcjExODUyMDQ0","avatar_url":"https://avatars3.githubusercontent.com/u/11852044?v=4","gravatar_id":"","url":"https://api.github.com/users/billypchan","html_url":"https://github.com/billypchan","followers_url":"https://api.github.com/users/billypchan/followers","following_url":"https://api.github.com/users/billypchan/following{/other_user}","gists_url":"https://api.github.com/users/billypchan/gists{/gist_id}","starred_url":"https://api.github.com/users/billypchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billypchan/subscriptions","organizations_url":"https://api.github.com/users/billypchan/orgs","repos_url":"https://api.github.com/users/billypchan/repos","events_url":"https://api.github.com/users/billypchan/events{/privacy}","received_events_url":"https://api.github.com/users/billypchan/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T15:04:43Z","updated_at":"2018-10-17T15:04:43Z","author_association":"CONTRIBUTOR","body":"@nicorsm Some input method, e.g. Chinese Cangjie input method replace its characters component to a signal character after space is pressed. This fix caused the character components are inputted in the textfield."}}
{"actor":{"display_login":"billypchan"}}