-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Keyboard enter on focused cluster won't zoom into it #940
Comments
Hm, this should be handled by leaflet for us. Does this reproduce with standard leaflet? |
The answer is kind of... I've build an example to show the current behavior: |
Thanks. As a workaround you could add a keypress listener and call the zoomTo... method when an enter key is pressed. |
Are there any news regarding this? Has a bug been filed against the Leaflet project? |
How to reproduce
What behaviour I'm expecting and which behaviour I'm seeing
When I tab across and focus on clusters in a map, and then hit enter to zoom in on one as I would on a click, it does not work when using leaflet version 1.4.0 or 1.3.1. If I change my version of leaflet back to 1.0.3, it does work as expected.
Minimal example reproducing the issue
I just changed the leaflet version used in the 388 point example in this library to version 1.4.0, and this produces the bug. I put it into plnkr, and if you change the version back and forth you can see the issue.
Using plnkr:
https://plnkr.co/edit/GJErPcYCWtqGz8lWqHl5?p=preview
The text was updated successfully, but these errors were encountered: