-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
routing bug #422
Comments
Adding $0.02 since this issue is related to #522. I agree that the sidebar should always reflect the current scroll position of the page: as the user scrolls, the active link in the sidebar should be highlighted in all scenarios. I do not , however, think the URL should be updated as the page is scrolled. Instead, the URL should be updated only when a user-initiated navigation action has occurred (i.e. clicking a sidebar link). This is how anchor tags work in all browsers by default, so this feels like the expected behavior. |
Is exactly a dupe of #522 |
i encounter a reproducible problem:
problem:
when you open a page via a deep link, like say like https://docsify.js.org/#/more-pages?id=ignoring-subheaders and then scroll to a different section (by reading on or scrolling up) there are two problems:
what i think should happen:
The text was updated successfully, but these errors were encountered: