cedricdelpoux / react-google-places-suggest

React component to select geolocated suggestion from Google Maps Places API
https://cedricdelpoux.github.io/react-google-places-suggest/
MIT License
86 stars 44 forks source link

Suggestions dropdown list displays multiple times #75

Open izak-jimenez opened 3 years ago

izak-jimenez commented 3 years ago

I am using this component just like in the demo. Everything works fine, however, there is one small issue with the suggestion dropdown list. Whenever I enter a value, the suggestions list is rendered, I click on the option that matches my search, and the input field gets populated by the value. However, immediately after this happens, the suggestions list gets rendered again with new options based on the choice that I just selected from the first time the list was displayed. Is there a way to prevent the suggestions list from displaying after you have already selected an option the first time?

Screen Shot 2021-02-19 at 17 11 46
cedricdelpoux commented 3 years ago

Hi @izak-jimenez. Thank you for reporting this. PR are welcome if you want to help.

rohitbatham commented 9 months ago

any update on this issue, I still see this.

cedricdelpoux commented 9 months ago

PRs are still welcome