You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduce: Open a Leaflet map inside a Fancybox (http://fancyapps.com/fancybox/) when the browser is scrolled down (window.scrollY > 0). Doubleclick on a position in the map, the map will zoom to another point window.scrollY pixels far down south than the position just clicked.
Think this issue is somewhere around l.1723ff in dist/leaflet-src.js:
mouseEventToContainerPoint: function (e) { // (MouseEvent)
return L.DomEvent.getMousePosition(e, this._container);
},
Reproduce: Open a Leaflet map inside a Fancybox (http://fancyapps.com/fancybox/) when the browser is scrolled down (window.scrollY > 0). Doubleclick on a position in the map, the map will zoom to another point window.scrollY pixels far down south than the position just clicked.
Think this issue is somewhere around l.1723ff in
dist/leaflet-src.js
:A Minimum-example will be attached: https://gist.github.com/4664568
The text was updated successfully, but these errors were encountered: