-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
The zoom function for some reason seems to be broken with the last release of Chrome - it isn't calculating the center of the zoom operation correctly, whether you use the mouse-wheel or double click, the point it's zooming to appears to be offset relative to the scroll offset of the page.
In case this is difficult to understand, I posted a video demonstrating the issue - I used some free tool to record this, and the frame rate isn't great, but pay attention to where the mouse is, and where the zoom operation goes to. As you can see, it works until I start dragging the scroll bar - in the video I'm dragging it a little bit first, to show that the vertical zoom target goes off by just a little bit, and then by a lot.
If the page is scrolled very far, the zoom operation goes completely ballistic (you don't see that in the video) and often zooms all the way out to maximum zoom with a single touch of the mouse-wheel.
This bug is currently repeatable on leafletjs.com home page (as you saw) and occurs on a site I am currently working on (locally).