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

ToC scrolls up each zoom #14

Closed
umbe1987 opened this issue Nov 23, 2018 · 5 comments
Closed

ToC scrolls up each zoom #14

umbe1987 opened this issue Nov 23, 2018 · 5 comments
Labels
bug Something isn't working

Comments

@umbe1987
Copy link
Owner

This can be seen with lengthy services (many layers). In case there are lots of layers and the ToC panel need to be scrolled down, on zoom it gets scrolled up.

Service to test: https://servizigis.regione.emilia-romagna.it/wms/rete_escursionistica?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities

immagine

@umbe1987 umbe1987 added the bug Something isn't working label Nov 23, 2018
@umbe1987
Copy link
Owner Author

IDEA: need to store total height of ToC panel (div). Try with HTML DOM scrollHeight Property

@umbe1987
Copy link
Owner Author

Closed via 31e0d25

@umbe1987
Copy link
Owner Author

Now there's the opposite problem: when scrolled down and then scrolled up, the zoom causes the toc to be scrolled down again. I thin I messed up with this a bit. It's the chance to fix it and also add the horizontal scroll position!

@umbe1987 umbe1987 reopened this Nov 26, 2018
@umbe1987
Copy link
Owner Author

Closed via e1c93bd

@umbe1987
Copy link
Owner Author

the problem seems to have reappeared after the last commit. Need to investigate further/

@umbe1987 umbe1987 reopened this Dec 23, 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