fix map scrolling right on click with horizontal scroll on page, close #1901
This commit is contained in:
parent
7c744d06e6
commit
8d925b6acb
@ -65,7 +65,7 @@ L.Map.Keyboard = L.Handler.extend({
|
||||
var body = document.body,
|
||||
docEl = document.documentElement,
|
||||
top = body.scrollTop || docEl.scrollTop,
|
||||
left = body.scrollTop || docEl.scrollLeft;
|
||||
left = body.scrollLeft || docEl.scrollLeft;
|
||||
|
||||
this._map._container.focus();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user