-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Сan not scroll list of layers in Google Chrome #5277
Comments
This might be related to the troublesome Just in case, can you try with Leaflet 1.0.3? |
Screen from http://leafletjs.com/examples/layers-control/example.html, which is used 1.0.3 |
Can confirm. I've left a playground at https://playground-leaflet.rhcloud.com/vifa/edit?html,output |
According to https://dom.spec.whatwg.org/#dispatching-events , step 18.1, the behaviour that Chrome>=55 exhibits is the right one: if any DOM parent of a element runs |
A simple example like at http://jsbin.com/mefojojugi/edit?html,output displays the proper behaviour in other browsers, so I don't know which parts of Leaflet made this work until now. 😕 |
I think this is beacause scroll propagation is disabled only for not-touch browsers: But in last chrome version L.Browser.touch is true for desktop version. This is sad as this flag is used in many places. For example zoom control is now enlarged in desktop Chrome (see gifs in issue) |
I can not scroll list of layers in layers control. Error in chrome 55, but all is well in Firefox 50. View gif. In Leaflet 0.7.3 works fine.
Chrome
Firefox
The text was updated successfully, but these errors were encountered: