{"action":"created","issue":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-React/issues/2887","repository_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-React","labels_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-React/issues/2887/labels{/name}","comments_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-React/issues/2887/comments","events_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-React/issues/2887/events","html_url":"https://github.com/Semantic-Org/Semantic-UI-React/issues/2887","id":329906284,"node_id":"MDU6SXNzdWUzMjk5MDYyODQ=","number":2887,"title":"Dropdown: multiple search selection dropdown won't close when clicking the search input for second time","user":{"login":"GuyShaanan","id":7248108,"node_id":"MDQ6VXNlcjcyNDgxMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/7248108?v=4","gravatar_id":"","url":"https://api.github.com/users/GuyShaanan","html_url":"https://github.com/GuyShaanan","followers_url":"https://api.github.com/users/GuyShaanan/followers","following_url":"https://api.github.com/users/GuyShaanan/following{/other_user}","gists_url":"https://api.github.com/users/GuyShaanan/gists{/gist_id}","starred_url":"https://api.github.com/users/GuyShaanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuyShaanan/subscriptions","organizations_url":"https://api.github.com/users/GuyShaanan/orgs","repos_url":"https://api.github.com/users/GuyShaanan/repos","events_url":"https://api.github.com/users/GuyShaanan/events{/privacy}","received_events_url":"https://api.github.com/users/GuyShaanan/received_events","type":"User","site_admin":false},"labels":[{"id":226591377,"node_id":"MDU6TGFiZWwyMjY1OTEzNzc=","url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-React/labels/bug","name":"bug","color":"fc2929","default":true},{"id":226591380,"node_id":"MDU6TGFiZWwyMjY1OTEzODA=","url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-React/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-06T14:58:14Z","updated_at":"2018-08-08T13:03:31Z","closed_at":null,"author_association":"NONE","body":"## Bug Report\r\n\r\n### Steps\r\n1. Go to https://react.semantic-ui.com/modules/dropdown#types-multiple-search-selection\r\n2. Click on the \"State\" placeholder to open the dropdown.\r\n3. When opened, click again (once) on the \"State\" placeholder.\r\n\r\n### Expected Result\r\nWhen clicking outside of the dropdown, the dropdown should close.\r\n\r\n### Actual Result\r\nThe dropdown doesn't close.\r\nIf you skip step (3) above, the dropdown closes as expected\r\n\r\n### Version\r\n0.81.1"},"comment":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-React/issues/comments/411397344","html_url":"https://github.com/Semantic-Org/Semantic-UI-React/issues/2887#issuecomment-411397344","issue_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-React/issues/2887","id":411397344,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTM5NzM0NA==","user":{"login":"krnkl","id":3626029,"node_id":"MDQ6VXNlcjM2MjYwMjk=","avatar_url":"https://avatars2.githubusercontent.com/u/3626029?v=4","gravatar_id":"","url":"https://api.github.com/users/krnkl","html_url":"https://github.com/krnkl","followers_url":"https://api.github.com/users/krnkl/followers","following_url":"https://api.github.com/users/krnkl/following{/other_user}","gists_url":"https://api.github.com/users/krnkl/gists{/gist_id}","starred_url":"https://api.github.com/users/krnkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krnkl/subscriptions","organizations_url":"https://api.github.com/users/krnkl/orgs","repos_url":"https://api.github.com/users/krnkl/repos","events_url":"https://api.github.com/users/krnkl/events{/privacy}","received_events_url":"https://api.github.com/users/krnkl/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T13:03:31Z","updated_at":"2018-08-08T13:03:31Z","author_association":"NONE","body":">  just wanted to point out another use-case (more common):\r\nInstead of step (3) you can select an option and then remove it (by clicking its x). Same behavior.\r\n\r\n@GuyShaanan this was fixed in 0.82.2\r\n\r\nRegarding what was initially described in bug report,  second click on \"State\" misses input element and input becomes not in focus anymore. \r\nMultiple search selection sets `width: 2.2em` for input element, so its easy to miss it."}}
{"actor":{"display_login":"krnkl"}}