-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Fix scrolling in docs #7982
Fix scrolling in docs #7982
Conversation
Nice, this is a good way. |
Looks really good! Can this Leaflet/docs/docs/css/main.css Line 498 in 28d8ed5
that was introduces in #7703 be removed now? It seems to cause the following on mobile: Edit: The black border disappears if that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Let's not block on #7982 (comment). Mobile has other issues (sticky headings not showing at all), they can be discussed separately.
Scrolling to the anchor is now be done manually instead of the browser internal function.
Fixes #7971
Closes #7972
Chromium browsers have a weird sideeffect. If we scroll to the same anchor in chromium browsers again, the scroll position has changed and the height of the sticky anchor was subtracted from the total scroll height / scroll position
@Malvoz, @NICEXAI, @avioli please check Demo