{"action":"opened","issue":{"url":"https://api.github.com/repos/JedWatson/react-select/issues/762","repository_url":"https://api.github.com/repos/JedWatson/react-select","labels_url":"https://api.github.com/repos/JedWatson/react-select/issues/762/labels{/name}","comments_url":"https://api.github.com/repos/JedWatson/react-select/issues/762/comments","events_url":"https://api.github.com/repos/JedWatson/react-select/issues/762/events","html_url":"https://github.com/JedWatson/react-select/issues/762","id":132120689,"number":762,"title":"Disabling the component doesn't close the menu","user":{"login":"gabrielenosso","id":4018887,"avatar_url":"https://avatars.githubusercontent.com/u/4018887?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielenosso","html_url":"https://github.com/gabrielenosso","followers_url":"https://api.github.com/users/gabrielenosso/followers","following_url":"https://api.github.com/users/gabrielenosso/following{/other_user}","gists_url":"https://api.github.com/users/gabrielenosso/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielenosso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielenosso/subscriptions","organizations_url":"https://api.github.com/users/gabrielenosso/orgs","repos_url":"https://api.github.com/users/gabrielenosso/repos","events_url":"https://api.github.com/users/gabrielenosso/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielenosso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-08T11:43:02Z","updated_at":"2016-02-08T11:43:02Z","closed_at":null,"body":"Passing the \"disabled={true}\", doesn't close the menu.\r\nIt means that if you update then the component with \"disabled={false}\", the component is bugged: it doesn't close properly because the state.isOpen is still false (even though the menu is rendered).\r\n\r\nSo the closeMenu() method at https://github.com/JedWatson/react-select/blob/master/src/Select.js#L247 isn't invoked."}}