[openstreetmap/openstreetmap-website] map page: unfocus search bar when pressing '-' or '+' (#1629)
zepatrik
notifications at github.com
Tue Sep 5 11:53:13 UTC 2017
Actually, what would you expect to happen when you use the `-` or `+` keys? - zoom
Regardless of what's focused because your brain focuses the map and not the search bar. If you want to search for something you go to the input. Having the input focused on load is maybe convenient because some people might want that and something has to be focused, so why not the search bar. When you use the mouse to navigate the map the focus changes anyways, but the keys for navigating are not supported on load. And that behavior is unexpected, I think. Nobody pressing the zoom keys would even notice because in the brain the map is already focused.
--
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#issuecomment-327153071
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170905/7ab7a2a5/attachment-0001.html>
More information about the rails-dev
mailing list