New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
map page: unfocus search bar when pressing '-' or '+' #1629
Comments
Seems like an extremely niche use case and extremely confusing behaviour if some keys cause the focus to change in mysterious ways instead of inputting into the field that has focus. I don't know about you, but I basically never use use the +/- buttons, and I certainly never trigger them from the keyboard like that - in fact I didn't even know you could! I either zoom using the mouse wheel (or touchpad equivalent) or by shift-dragging to zoom in. |
My baby aged daughter showed me that i can use the cursor keys to move the map :-) But magic focus handling would be surprising for me. Probably we should not open that can of worms. |
Actually, what would you expect to happen when you use the |
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.The text was updated successfully, but these errors were encountered: