-
Notifications
You must be signed in to change notification settings - Fork 25
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
Anchor links on changelog do not always scroll to accurate position #84
Comments
There is currently no possible solution for keeping smooth scroll + keeping anchor tags all presented in the changelog. Read through the warnings of this to see why. We can, however, disable smooth scrolling for the time being to keep anchor link integrity. @ancestral @ZeldaZach, please see above note. Shall we bench smooth scroll for now? |
I like smooth scrolling. Also, that URL is dead. |
Link updated. TL;DR, we might have to handle the changelog differently or reformat the heading styling. Would require some experimentation at this point is all. |
This is a thing with limited support: https://css-tricks.com/fixed-headers-on-page-links-and-overlapping-content-oh-my/ |
After further investigation this is a problem also assisted by the way we automatically "documentize" a markdown changelog: When anchoring to a headline the page expects the previous anchor to be out of view. Because the changelog markdown is not directly markup, there is no way to target the section/headline in CSS and add more spacing intelligently and with regard to any and all future markdown formatting. Further investigation is warranted. |
Final thoughts and then im closing this ticket because its stale and the conditions are no longer as accurate: This is unfixable as long as we have a fixed navigation. There is, to my knowledge, in Vuepress and all browsers a way to win this battle. |
The text was updated successfully, but these errors were encountered: