-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Instant navigation: toc item requires two clicks after navigating away and returning #7183
Comments
Thanks for reporting! I'll investigate. |
Fixed in 485fa76! Thanks for the excellent issue and reproduction, that made isolating and fixing the issue really easy. The problem was that the mkdocs-material/src/templates/assets/javascripts/integrations/instant/index.ts Lines 366 to 378 in 485fa76
Perfect issue! Thanks for taking the time. |
Thank you so much for the fix! 🙌🏻 |
Released as part of 9.5.23. |
Thank you so much! |
Context
No response
Bug description
When using Instant Loading, selecting a link in the table of contents, navigating away, returning, and then selecting the same toc item does not jump to the id until the second click.
I've confirmed this in Chrome, Firefox, and Edge.
Related links
Reproduction
9.5.22+insiders.4.53.8-instant-nav-bug-repro.zip
Steps to reproduce
Browser
No response
Before submitting
The text was updated successfully, but these errors were encountered: