-
Notifications
You must be signed in to change notification settings - Fork 1.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
Sidebar can't scroll to current active section #1067
Comments
Hi - I'm not an mdBook maintainer and have no authoritah over PRs, but wanted to mention that |
Now it's |
* Fix: Scroll sidebar to current active section (#1067) * Clean: Some code related to PR #1052 * Change `scrollIntoViewIfNeeded` with `scrollIntoView` * Don't use onload event for sidebar scroll to reduce flickering. Co-authored-by: 李鸿章 <[email protected]>
* Fix: Scroll sidebar to current active section (rust-lang#1067) * Clean: Some code related to PR rust-lang#1052 * Change `scrollIntoViewIfNeeded` with `scrollIntoView` * Don't use onload event for sidebar scroll to reduce flickering. Co-authored-by: 李鸿章 <[email protected]>
Sidebar on the left can't auto scroll to the current active section. This is something to do with the
book.js
. I'm ready to propose a PR.The text was updated successfully, but these errors were encountered: