{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/5010","repository_url":"https://api.github.com/repos/callemall/material-ui","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/5010/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/5010/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/5010/events","html_url":"https://github.com/callemall/material-ui/pull/5010","id":171680761,"number":5010,"title":"[Popover] Prevent creating multiple timeouts when popover is closing","user":{"login":"BartKrol","id":5664083,"avatar_url":"https://avatars.githubusercontent.com/u/5664083?v=3","gravatar_id":"","url":"https://api.github.com/users/BartKrol","html_url":"https://github.com/BartKrol","followers_url":"https://api.github.com/users/BartKrol/followers","following_url":"https://api.github.com/users/BartKrol/following{/other_user}","gists_url":"https://api.github.com/users/BartKrol/gists{/gist_id}","starred_url":"https://api.github.com/users/BartKrol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BartKrol/subscriptions","organizations_url":"https://api.github.com/users/BartKrol/orgs","repos_url":"https://api.github.com/users/BartKrol/repos","events_url":"https://api.github.com/users/BartKrol/events{/privacy}","received_events_url":"https://api.github.com/users/BartKrol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/callemall/material-ui/labels/PR:%20Review%20Accepted","name":"PR: Review Accepted","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-17T15:01:16Z","updated_at":"2016-08-22T20:34:06Z","closed_at":"2016-08-22T20:33:58Z","pull_request":{"url":"https://api.github.com/repos/callemall/material-ui/pulls/5010","html_url":"https://github.com/callemall/material-ui/pull/5010","diff_url":"https://github.com/callemall/material-ui/pull/5010.diff","patch_url":"https://github.com/callemall/material-ui/pull/5010.patch"},"body":"This fix closes https://github.com/callemall/material-ui/issues/4163. \r\n\r\nWhen user clicks on a `SelectField`, the `Popover` component is creating a new timeout to close itself after 500ms delay. This was a problem, because timeouts haven't been cleared when there is a new timeout being created (it's usually cleared when component will unmount). \r\n\r\nPossible fixes were either to clear old timeout every time `open` prop was changed or to simply prevent it from creating next one.\r\n\r\n- [x] PR has tests / docs demo, and is linted.\r\n- [x] Commit and PR titles begin with [ComponentName], and are in imperative form: \"[Component] Fix leaky abstraction\".\r\n- [x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem)."},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/241541098","html_url":"https://github.com/callemall/material-ui/pull/5010#issuecomment-241541098","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/5010","id":241541098,"user":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars.githubusercontent.com/u/3165635?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T20:34:06Z","updated_at":"2016-08-22T20:34:06Z","body":"@BartKrol Right, thanks!"}}
{"actor":{"display_login":"oliviertassinari"}}