{"action":"created","issue":{"url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/73","repository_url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input","labels_url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/73/comments","events_url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/73/events","html_url":"https://github.com/TeamWertarbyte/material-ui-chip-input/issues/73","id":203678007,"number":73,"title":"openOnFocus breaks blur","user":{"login":"cauld","id":33525,"avatar_url":"https://avatars.githubusercontent.com/u/33525?v=3","gravatar_id":"","url":"https://api.github.com/users/cauld","html_url":"https://github.com/cauld","followers_url":"https://api.github.com/users/cauld/followers","following_url":"https://api.github.com/users/cauld/following{/other_user}","gists_url":"https://api.github.com/users/cauld/gists{/gist_id}","starred_url":"https://api.github.com/users/cauld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cauld/subscriptions","organizations_url":"https://api.github.com/users/cauld/orgs","repos_url":"https://api.github.com/users/cauld/repos","events_url":"https://api.github.com/users/cauld/events{/privacy}","received_events_url":"https://api.github.com/users/cauld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-27T16:23:49Z","updated_at":"2017-01-27T23:08:37Z","closed_at":null,"body":"When setting openOnFocus to true the original collapsed state of the input is not reset when focus is lost. The label remains floated and the input is still underlined.\r\n\r\n[This setState block](https://github.com/TeamWertarbyte/material-ui-chip-input/blob/master/src/ChipInput.js#L225) is never hit to set isFocused back to false.\r\n\r\nYou can see this in [the open on focus storybook example](https://teamwertarbyte.github.io/material-ui-chip-input/?selectedKind=ChipInput&selectedStory=with%20auto%20complete%2C%20open%20on%20focus&full=0&down=1&left=1&panelRight=0&downPanel=kadirahq%2Fstorybook-addon-actions%2Factions-panel). Click into the input and then tab out. Doing the same in other examples where openOnFocus  is not used demonstrates the proper behavior."},"comment":{"url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/comments/275799407","html_url":"https://github.com/TeamWertarbyte/material-ui-chip-input/issues/73#issuecomment-275799407","issue_url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/73","id":275799407,"user":{"login":"leMaik","id":5544859,"avatar_url":"https://avatars.githubusercontent.com/u/5544859?v=3","gravatar_id":"","url":"https://api.github.com/users/leMaik","html_url":"https://github.com/leMaik","followers_url":"https://api.github.com/users/leMaik/followers","following_url":"https://api.github.com/users/leMaik/following{/other_user}","gists_url":"https://api.github.com/users/leMaik/gists{/gist_id}","starred_url":"https://api.github.com/users/leMaik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leMaik/subscriptions","organizations_url":"https://api.github.com/users/leMaik/orgs","repos_url":"https://api.github.com/users/leMaik/repos","events_url":"https://api.github.com/users/leMaik/events{/privacy}","received_events_url":"https://api.github.com/users/leMaik/received_events","type":"User","site_admin":false},"created_at":"2017-01-27T23:08:37Z","updated_at":"2017-01-27T23:08:37Z","body":"Thank you for the bug report and locating the issue. :+1: Would you like to submit a PR that fixes it?"}}
{"actor":{"display_login":"leMaik"}}