{"action":"closed","issue":{"url":"https://api.github.com/repos/bhauman/devcards/issues/52","labels_url":"https://api.github.com/repos/bhauman/devcards/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/bhauman/devcards/issues/52/comments","events_url":"https://api.github.com/repos/bhauman/devcards/issues/52/events","html_url":"https://github.com/bhauman/devcards/issues/52","id":110915046,"number":52,"title":"Reagent component with input box loses focus on change when tracking atom","user":{"login":"mathfarmer","id":3326436,"avatar_url":"https://avatars.githubusercontent.com/u/3326436?v=3","gravatar_id":"","url":"https://api.github.com/users/mathfarmer","html_url":"https://github.com/mathfarmer","followers_url":"https://api.github.com/users/mathfarmer/followers","following_url":"https://api.github.com/users/mathfarmer/following{/other_user}","gists_url":"https://api.github.com/users/mathfarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/mathfarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathfarmer/subscriptions","organizations_url":"https://api.github.com/users/mathfarmer/orgs","repos_url":"https://api.github.com/users/mathfarmer/repos","events_url":"https://api.github.com/users/mathfarmer/events{/privacy}","received_events_url":"https://api.github.com/users/mathfarmer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-12T06:30:57Z","updated_at":"2015-10-19T00:01:57Z","closed_at":"2015-10-19T00:01:57Z","body":"Having a lot of fun with devcards and figwheel, but ran into the following issue: if I add a reagent component with an input box that updates on change to a card and also try tracking the atom those changes flow to, the input box loses focus on every change, i.e. on every keystroke. [Gist to reproduce is here](https://gist.github.com/mathfarmer/17d8d57e2b384a86ecba).\r\n\r\nNote that there is an easy enough workaround for this: duplicate the card, but don't pass the state atom to that one. The one without the atom accepts changes to the input box without losing focus just fine, and you still get the live state display and history tracking in the other card, which otherwise works just fine."}}