Skip to content
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

Unable to scroll layer list with scroll wheel #61

Open
NHellFire opened this issue Feb 13, 2018 · 3 comments
Open

Unable to scroll layer list with scroll wheel #61

NHellFire opened this issue Feb 13, 2018 · 3 comments

Comments

@NHellFire
Copy link

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/

@newmanw
Copy link

newmanw commented Jun 29, 2018

Looked to leaflet layer control for inspiration. Take a look at PR #64 and see if that helps.

@NHellFire
Copy link
Author

See #62

@newmanw
Copy link

newmanw commented Jul 1, 2018

@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.

screen shot 2018-06-30 at 7 41 50 pm

PR #64 also updates the height the same way leaflet does. So that the layer control does not overflow the window.

screen shot 2018-06-30 at 7 44 04 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants