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

zooming with two fingers in Chrome mobile causes the panel to render badly #16

Closed
umbe1987 opened this issue Jan 16, 2019 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@umbe1987
Copy link
Owner

Apparently this happens only in Chrome when zooming in or out the map with two fingers on mobile.

Problem
the toc looses the opacity slider and legens under each layer.

Cause
Acoording to openlayers/openlayers#9105, too many change:resolution events are triggered when zooming with two fingers.

Solution proposed
Using debouncing in JavaScript.

@umbe1987 umbe1987 added the bug Something isn't working label Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant