leaflet-groupedlayercontrol
leaflet-groupedlayercontrol copied to clipboard
Unable to scroll layer list with scroll wheel
Using the scroll wheel to scroll a long layer list results in the map zooming instead.
jsfiddle showing this: https://jsfiddle.net/LnzN2/1454/ It works as expected without using grouped layer control: https://jsfiddle.net/LnzN2/1455/
Looked to leaflet layer control for inspiration. Take a look at PR #64 and see if that helps.
See #62
@NHellFire Sorry, didn't see that PR. I don't think it updates the height of the layer control based on the window height to prevent the overflow.
PR #64 also updates the height the same way leaflet does. So that the layer control does not overflow the window.