[openstreetmap/openstreetmap-website] map page: unfocus search bar when pressing '-' or '+' (#1629)

zepatrik notifications at github.com
Sun Sep 3 16:29:58 UTC 2017


I don't know about you but when I load the map page the first thing I do is zoom out to go to the desired location or search for it. The second use case is comfortably handled by the autofocused input, but for the first one the map has to be in focus. So why not make an exception when starting to type with a `-` or `+` so the zoom function of those buttons is conserved while still allowing to search right away? I don't think there is any use case you would want to start a search with those two symbols.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1629
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170903/e69012e1/attachment.html>


More information about the rails-dev mailing list