GEOLYTIX / xyz

An open source javascript framework for spatial data and application interfaces.
MIT License
87 stars 25 forks source link

Search input prematurely cleared on safari #1232

Closed cityremade closed 1 month ago

cityremade commented 2 months ago

Describe the bug Input search node is given .dropdown class and gets behaviour in line with css logic .dropdown > ul > li

To Reproduce Safari - when clicking on address search result <li> the outer container is immediately hidden and the click never happens.

Expected behaviour click on search result fires search callback and clears the list

Desktop (please complete the following information):

cityremade commented 2 months ago

Plan to resolve: Merge searchbox ui element https://github.com/GEOLYTIX/xyz/pull/1238 Rework gazetteer to use the serchbox element to get rid of .dropdown css in a separate pr.

cityremade commented 1 month ago

https://github.com/GEOLYTIX/xyz/pull/1247

the above fixes the problem.