react-places-autocomplete
react-places-autocomplete copied to clipboard
It is not selecting a place on click while it works perfectly from keyboard
I cant seem to make it work with a click on the place. It works perfectly if i navigate with the arrow keys and select with enter key. Even the live demo does not work with a click. Has anyone else faced this issue?
This is a #26 issue. It shows as closed but I'm again getting the same bug. https://github.com/hibiken/react-places-autocomplete/issues/26
I, too, am experiencing this. Enter works but clicking just clears the options. Any suggestions? Thank you.
I, too, am experiencing this. Enter works but clicking just clears the options. Any suggestions? Thank you.
The developer has discontinued supporting the library. A workaround for it would be, adding an onClick on the getSuggestionItemProps and passing the suggestion to handleClick method
And the handleClick method would look like below,
Thank you! I have it working. I appreciate this very much.
Are there any other workarounds? This didn't work for me