pablobm left a comment (openstreetmap/openstreetmap-website#6765)
There's a very confusing behaviour in Firefox: the datalist items are filtered
using the text input as an strict substring.
So for example, if I search for "london texas", several results arrive from
Nominatim:
- In Firefox, no results are displayed. This is because none of the results has
"london texas" as an exact substring.
- In Chrome I do see results. Looks like Chrome takes the strings "london" and
"texas" separately, allowing any result that includes both strings in any way.
So for example "London, Rusk County, Texas" appears.
This means that the form won't work on Firefox in these cases, at all. The
current behaviour takes the user to the first result, but with this new
behaviour no result is used and the user is not allowed to pick one. I don't
think that we can detect this behaviour, short of detecting the browser which
would be a bad idea.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6765#issuecomment-3884852030
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6765/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev