{"action":"created","issue":{"url":"https://api.github.com/repos/gcanti/tcomb-form/issues/51","labels_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/51/comments","events_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/51/events","html_url":"https://github.com/gcanti/tcomb-form/issues/51","id":55057719,"number":51,"title":"Inputs lose focus on parent re-render","user":{"login":"Chrisui","id":1042432,"avatar_url":"https://avatars.githubusercontent.com/u/1042432?v=3","gravatar_id":"","url":"https://api.github.com/users/Chrisui","html_url":"https://github.com/Chrisui","followers_url":"https://api.github.com/users/Chrisui/followers","following_url":"https://api.github.com/users/Chrisui/following{/other_user}","gists_url":"https://api.github.com/users/Chrisui/gists{/gist_id}","starred_url":"https://api.github.com/users/Chrisui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chrisui/subscriptions","organizations_url":"https://api.github.com/users/Chrisui/orgs","repos_url":"https://api.github.com/users/Chrisui/repos","events_url":"https://api.github.com/users/Chrisui/events{/privacy}","received_events_url":"https://api.github.com/users/Chrisui/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-01-21T18:29:13Z","updated_at":"2015-01-28T15:50:48Z","closed_at":"2015-01-28T15:50:48Z","body":"I'm currently experiencing issues (using 0.3.0-rc2) where if you are focused in a generated input and the parent state is changed (forcing an update) then the input will be blurred.\r\n\r\nA brief bit of investigation (just watching DOM changes) showed me that the entire form tree is removed and replaced with an identical tree when the parent component is re-rendered.\r\n\r\nIs this a known issue within this release?\r\n\r\nReproducing should be quite easy: just a simple form with a textbox and force an update on your parent component to see that you'll lose focus of your input if you were typing."},"comment":{"url":"https://api.github.com/repos/gcanti/tcomb-form/issues/comments/71857492","html_url":"https://github.com/gcanti/tcomb-form/issues/51#issuecomment-71857492","issue_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/51","id":71857492,"user":{"login":"gcanti","id":878912,"avatar_url":"https://avatars.githubusercontent.com/u/878912?v=3","gravatar_id":"","url":"https://api.github.com/users/gcanti","html_url":"https://github.com/gcanti","followers_url":"https://api.github.com/users/gcanti/followers","following_url":"https://api.github.com/users/gcanti/following{/other_user}","gists_url":"https://api.github.com/users/gcanti/gists{/gist_id}","starred_url":"https://api.github.com/users/gcanti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcanti/subscriptions","organizations_url":"https://api.github.com/users/gcanti/orgs","repos_url":"https://api.github.com/users/gcanti/repos","events_url":"https://api.github.com/users/gcanti/events{/privacy}","received_events_url":"https://api.github.com/users/gcanti/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T15:50:48Z","updated_at":"2015-01-28T15:50:48Z","body":"0.4.0-beta landed on master. All tests green with React 0.13.0-beta.1 :)"}}