Brings the basic functionality of Google Maps Gesture Handling into Leaflet. Prevents users from getting trapped on the map when scrolling a long page.
MIT License
275
stars
60
forks
source link
Warning message does not disappear under shadow DOM #53
The warning message "Use ctrl + scroll to zoom the map" stays after the duration period on shadow DOM. That is the case because document.getElementsByClassName is used, which will not find elements in the shadow DOM. There is a pull request that may resolved the problem :
https://github.com/elmarquis/Leaflet.GestureHandling/pull/38
The warning message "Use ctrl + scroll to zoom the map" stays after the duration period on shadow DOM. That is the case because document.getElementsByClassName is used, which will not find elements in the shadow DOM. There is a pull request that may resolved the problem : https://github.com/elmarquis/Leaflet.GestureHandling/pull/38