bevy-website icon indicating copy to clipboard operation
bevy-website copied to clipboard

Page TOC sidebar highlight doesn't work when the section content is very long

Open doup opened this issue 10 months ago • 0 comments

If a section is very long and no headings are present then the highlight doesn't work. Maybe, the highlight should update only if there is a new section to highlight (keep memory, or update the classes only if there is a change) and keep the old/current one otherwise.

Relevant file: on-this-page.js.

https://github.com/user-attachments/assets/b3ddbc66-9a11-4121-a33c-1b776f1df24e

doup avatar Mar 10 '25 13:03 doup