{"action":"created","issue":{"url":"https://api.github.com/repos/JedWatson/react-select/issues/2260","repository_url":"https://api.github.com/repos/JedWatson/react-select","labels_url":"https://api.github.com/repos/JedWatson/react-select/issues/2260/labels{/name}","comments_url":"https://api.github.com/repos/JedWatson/react-select/issues/2260/comments","events_url":"https://api.github.com/repos/JedWatson/react-select/issues/2260/events","html_url":"https://github.com/JedWatson/react-select/issues/2260","id":285995207,"number":2260,"title":"Keep open dropdown when using Async with closeOnSelect not working","user":{"login":"jaypandya73","id":10997836,"avatar_url":"https://avatars2.githubusercontent.com/u/10997836?v=4","gravatar_id":"","url":"https://api.github.com/users/jaypandya73","html_url":"https://github.com/jaypandya73","followers_url":"https://api.github.com/users/jaypandya73/followers","following_url":"https://api.github.com/users/jaypandya73/following{/other_user}","gists_url":"https://api.github.com/users/jaypandya73/gists{/gist_id}","starred_url":"https://api.github.com/users/jaypandya73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaypandya73/subscriptions","organizations_url":"https://api.github.com/users/jaypandya73/orgs","repos_url":"https://api.github.com/users/jaypandya73/repos","events_url":"https://api.github.com/users/jaypandya73/events{/privacy}","received_events_url":"https://api.github.com/users/jaypandya73/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-04T14:03:40Z","updated_at":"2018-05-23T07:33:01Z","closed_at":null,"author_association":"NONE","body":"Hi guys,\r\n\r\nI want to keep open drop-down menu of search when searching users/lists from with `Select.Async` after selecting option from drop-down.\r\n\r\nI've seen similar issues and as @JedWatson given suggestions here https://github.com/JedWatson/react-select/issues/1542#issuecomment-328919546, I've tried to do the same but no luck.\r\n\r\nhere is code which I'm using:\r\n```javascript\r\n  getList(input) {\r\n\tif (!input) {\r\n\t  return Promise.resolve({ options: [] });\r\n\t}\r\n    return axios.get(`http://localhost:4000/api/v1/search?search=${input}`)\r\n    .then(response => {\r\n      this.setState({\r\n        searchedOptions: response.data.ideas\r\n      })\r\n      return { options: response.data.ideas };\r\n    })\r\n  }\r\n\r\n\r\n<Select.Async\r\n      closeOnSelect={false}\r\n      onSelectResetsInput={false}\r\n      backspaceRemoves={true}\r\n      value={this.state.value}\r\n      onChange={this.onChange}\r\n      onValueClick={this.gotoItem}\r\n      valueKey=\"id\"\r\n      labelKey=\"title\"\r\n      loadOptions={this.getList}\r\n      noResultsText={'No result found :('}\r\n      cache={false}\r\n      />\r\n```\r\nCan any one can tell me how to keep open drop-down menu with Async after selecting option from it?\r\nAny help would be appreciated 🙏  \r\n  "},"comment":{"url":"https://api.github.com/repos/JedWatson/react-select/issues/comments/391249366","html_url":"https://github.com/JedWatson/react-select/issues/2260#issuecomment-391249366","issue_url":"https://api.github.com/repos/JedWatson/react-select/issues/2260","id":391249366,"user":{"login":"masihtamsoy","id":15606230,"avatar_url":"https://avatars2.githubusercontent.com/u/15606230?v=4","gravatar_id":"","url":"https://api.github.com/users/masihtamsoy","html_url":"https://github.com/masihtamsoy","followers_url":"https://api.github.com/users/masihtamsoy/followers","following_url":"https://api.github.com/users/masihtamsoy/following{/other_user}","gists_url":"https://api.github.com/users/masihtamsoy/gists{/gist_id}","starred_url":"https://api.github.com/users/masihtamsoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masihtamsoy/subscriptions","organizations_url":"https://api.github.com/users/masihtamsoy/orgs","repos_url":"https://api.github.com/users/masihtamsoy/repos","events_url":"https://api.github.com/users/masihtamsoy/events{/privacy}","received_events_url":"https://api.github.com/users/masihtamsoy/received_events","type":"User","site_admin":false},"created_at":"2018-05-23T07:33:01Z","updated_at":"2018-05-23T07:33:01Z","author_association":"NONE","body":"I am using \"react-select\": \"^2.0.0-beta.5\".\r\n\r\n`<AsyncSelect\r\nclassName='select-container'\r\nclassNamePrefix='select-internal'\r\nisMulti\r\ncloseOnSelect={false}\r\ncloseMenuOnSelect={false}\r\nonSelectResetsInput={false}\r\ncacheOptions\r\ndefaultOptions\r\nloadOptions={promiseOptions}\r\n/>`\r\n\r\nThis works for me."}}
{"actor":{"display_login":"masihtamsoy"}}