algolia / places

:globe_with_meridians: Turn any <input> into an address autocomplete
https://community.algolia.com/places/
MIT License
5.35k stars 234 forks source link

Does not work on mobile Safari with FastClick #355

Closed blairanderson closed 7 years ago

blairanderson commented 7 years ago

Bugs like this are annoying because its one library interfering with another.

fastclick makes mobile web browsers feel faster because touch devices have 300ms delay for clicks.

I was having a problem on mobile safari, while algolia autocomplete dropdown is being displayed, any clicks on the dropdown were being scooped up with fastclick and closing the dropdown without firing any events or selecting the clicked item.

Happy to reproduce if you have an example I can fork. Couldn't find one in this repo

vvo commented 7 years ago

Hi @blairanderson we do not do anything special as for event registration, fastclick has its own set of issues and does not seems to be completely maintained unfortunately.

You will have to dig this issue harder and get help on the fastclick repository or stackoverflow. This is not a places bug per se to us, more of a fastclick issue with event handling. Such as https://github.com/ftlabs/fastclick/issues/487 or https://github.com/ftlabs/fastclick/issues/447

Thanks