-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
C-bugCategory: A bug, incorrect or unintended behaviorCategory: A bug, incorrect or unintended behavior
Description
Problem
When the current chapter item in the sidebar went out of the window, if you navigated to another chapter, mdbook computed the scroll-to position wrong, and scrolled to a wrong place.
The recording below shows that
- Fine if the the current chapter with is within the window
- Not fine if it is out of sight.
Screen.Recording.2025-11-28.at.14.09.34.mov
Steps
- Find a long enough chapter having a lots of headings.
- Follow what the recording did.
Possible Solution(s)
No response
Notes
No response
Version
https://crates.io/crates/mdbook/0.5.1
Metadata
Metadata
Assignees
Labels
C-bugCategory: A bug, incorrect or unintended behaviorCategory: A bug, incorrect or unintended behavior