{"action":"created","issue":{"url":"https://api.github.com/repos/ubilabs/react-geosuggest/issues/362","repository_url":"https://api.github.com/repos/ubilabs/react-geosuggest","labels_url":"https://api.github.com/repos/ubilabs/react-geosuggest/issues/362/labels{/name}","comments_url":"https://api.github.com/repos/ubilabs/react-geosuggest/issues/362/comments","events_url":"https://api.github.com/repos/ubilabs/react-geosuggest/issues/362/events","html_url":"https://github.com/ubilabs/react-geosuggest/issues/362","id":269426259,"number":362,"title":"How to close suggest list on select?","user":{"login":"amanshu-kataria","id":13014093,"avatar_url":"https://avatars3.githubusercontent.com/u/13014093?v=4","gravatar_id":"","url":"https://api.github.com/users/amanshu-kataria","html_url":"https://github.com/amanshu-kataria","followers_url":"https://api.github.com/users/amanshu-kataria/followers","following_url":"https://api.github.com/users/amanshu-kataria/following{/other_user}","gists_url":"https://api.github.com/users/amanshu-kataria/gists{/gist_id}","starred_url":"https://api.github.com/users/amanshu-kataria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amanshu-kataria/subscriptions","organizations_url":"https://api.github.com/users/amanshu-kataria/orgs","repos_url":"https://api.github.com/users/amanshu-kataria/repos","events_url":"https://api.github.com/users/amanshu-kataria/events{/privacy}","received_events_url":"https://api.github.com/users/amanshu-kataria/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-29T19:16:57Z","updated_at":"2017-10-30T09:40:05Z","closed_at":"2017-10-30T09:18:19Z","author_association":"NONE","body":"### Short description\r\n\r\nI was trying to select a suggestion, but the suggestion list doesn't close after I select a suggestion item.\r\nI tried using below code but it didn't work.\r\n```\r\nonSuggestSelect(suggest) {\r\n    console.log(suggest);\r\n    this._geoSuggest.blur();\r\n}\r\n<Geosuggest ref={el => (this._geoSuggest = el)} \r\n          onSuggestSelect={this.onSuggestSelect}\r\n          suggestsHiddenClassName=\"suggest-hidden\"\r\n          suggestItemClassName=\"suggest-item\"/>\r\n\r\n```\r\n\r\nI even tried `this._geoSuggest.hideSuggests();`, but that too didn't work.\r\n\r\n### Expected results\r\n\r\nBy selecting a suggestion item the suggestion list should close."},"comment":{"url":"https://api.github.com/repos/ubilabs/react-geosuggest/issues/comments/340391896","html_url":"https://github.com/ubilabs/react-geosuggest/issues/362#issuecomment-340391896","issue_url":"https://api.github.com/repos/ubilabs/react-geosuggest/issues/362","id":340391896,"user":{"login":"ro-ka","id":840022,"avatar_url":"https://avatars0.githubusercontent.com/u/840022?v=4","gravatar_id":"","url":"https://api.github.com/users/ro-ka","html_url":"https://github.com/ro-ka","followers_url":"https://api.github.com/users/ro-ka/followers","following_url":"https://api.github.com/users/ro-ka/following{/other_user}","gists_url":"https://api.github.com/users/ro-ka/gists{/gist_id}","starred_url":"https://api.github.com/users/ro-ka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ro-ka/subscriptions","organizations_url":"https://api.github.com/users/ro-ka/orgs","repos_url":"https://api.github.com/users/ro-ka/repos","events_url":"https://api.github.com/users/ro-ka/events{/privacy}","received_events_url":"https://api.github.com/users/ro-ka/received_events","type":"User","site_admin":false},"created_at":"2017-10-30T09:40:05Z","updated_at":"2017-10-30T09:40:05Z","author_association":"OWNER","body":"Perfect! Enjoy the component! 😃 "}}
{"actor":{"display_login":"ro-ka"}}