{"action":"opened","issue":{"url":"https://api.github.com/repos/JedWatson/react-select/issues/2905","repository_url":"https://api.github.com/repos/JedWatson/react-select","labels_url":"https://api.github.com/repos/JedWatson/react-select/issues/2905/labels{/name}","comments_url":"https://api.github.com/repos/JedWatson/react-select/issues/2905/comments","events_url":"https://api.github.com/repos/JedWatson/react-select/issues/2905/events","html_url":"https://github.com/JedWatson/react-select/issues/2905","id":348724960,"node_id":"MDU6SXNzdWUzNDg3MjQ5NjA=","number":2905,"title":"Feature Request: Disable Focus","user":{"login":"wootencl","id":8561687,"node_id":"MDQ6VXNlcjg1NjE2ODc=","avatar_url":"https://avatars1.githubusercontent.com/u/8561687?v=4","gravatar_id":"","url":"https://api.github.com/users/wootencl","html_url":"https://github.com/wootencl","followers_url":"https://api.github.com/users/wootencl/followers","following_url":"https://api.github.com/users/wootencl/following{/other_user}","gists_url":"https://api.github.com/users/wootencl/gists{/gist_id}","starred_url":"https://api.github.com/users/wootencl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wootencl/subscriptions","organizations_url":"https://api.github.com/users/wootencl/orgs","repos_url":"https://api.github.com/users/wootencl/repos","events_url":"https://api.github.com/users/wootencl/events{/privacy}","received_events_url":"https://api.github.com/users/wootencl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-08T13:25:33Z","updated_at":"2018-08-08T13:25:33Z","closed_at":null,"author_association":"NONE","body":"Would be nice if there was the ability (more than likely via a prop) to disable the focus of react-select. By disabling focus I mean allow the user to click `react-select`, have it open/respond accordingly, _but_ it would _not_ take focus as it currently does.\r\n\r\nThe reasoning/use case behind this for me specifically is the scenario where you're in a text editor and (for example) you want to create a font size selector with `react-select`. You would then highlight the text you wish to modify then click on `react-select` to open a menu of font size choices. At current this would not work as your text selection will be wiped by `react-select`'s built in functionality to automatically put focus on its input.\r\n\r\nProposing the addition of a new `disableFocus` (or something along those lines). Have a good idea of how to go about accomplishing this within the code so happy to create a PR, etc. if this is something you all would be willing to merge into the core library. \r\n\r\nAside, thanks for the excellent module/component 🙂."}}
{"actor":{"display_login":"wootencl"}}