You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---
hide:
navigation
---
# H1
## H2
### H3
Text.
**Text**
One | Two
---|---
One | Lorem ipsum
### H3
Text.
**Text**
One | Two
---|---
One | Lorem ipsum
... Add more headers with content
... Headings that will sometimes be hidden in the TOC
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
### H3 - 222
Text.
**Text**
One | Two
---|---
One | Lorem ipsum
### H3 - 111
Text.
**Text**
One | Two
---|---
One | Lorem ipsum
### H3 - 000
Text.
**Text**
One | Two
---|---
One | Lorem ipsum
Bug description
I use the touchpad to scroll down the page, and sometimes the table of contents does not scroll to the end if the last few chapters fit in the viewing area.
squidfunk
changed the title
Sometimes TOC doesn't autoscroll to the end, when toc.follow feature is active and last few chapters fit in the viewing area
Sometimes toc.follow doesn't move last entries into view
Jan 31, 2023
Thanks for reporting and providing the excellent reproduction! It made tracking down and fixing the issue a breeze. Fixed in c5459af. Next time I work on anchor following I'll do a little refactoring, but for the time being this should work now 😊
Context
index.md
:Bug description
I use the touchpad to scroll down the page, and sometimes the table of contents does not scroll to the end if the last few chapters fit in the viewing area.
Related links
Reproduction
example.zip
Steps to reproduce
Scroll down.
Chrome.mp4
Firefox.mp4
Browser
Chrome, Firefox
Before submitting
The text was updated successfully, but these errors were encountered: