-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
doc: add a smooth scrolling effect to the sidebar #59007
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
doc: add a smooth scrolling effect to the sidebar #59007
Conversation
|
Review requested:
|
avivkeller
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't add JavaScript unless it's absolutely needed.
If it is, this should added to the assets, rather than directly to the HTML
a257f95 to
defccdf
Compare
Thanks for the tip, it would be nice to add automatic scrolling of active sidebar links into the view area. |
avivkeller
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please lint, fix the casing, and add comments
08d3e30 to
09348d4
Compare
|
Done. |
mikeesto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, CI is failing because the first commit starts with fix, it should be doc
09348d4 to
6643d19
Compare
|
I have modified the commit information. |
|
Add a smooth scrolling effect to the sidebar. |
|
@btea can you amend the first commit to match the PR title? |
|
Previously, due to a conflict with the main branch, I synced the main branch's code, and the latest commit history shows commits from the main branch. I don't know how to resolve this. |
|
No worries! Make you sure toggle "Maintainers can edit", and I'll rebase it myself when I get a free moment. |
|
Thank you, I've already checked the box. |
d47ca88 to
eafe0b1
Compare
|
Landed in ae407c3 |
When searching for the API in the Quick Flower Cutting module, each time you switch to a different module, the content in the sidebar scrolls to the top, and the currently active link is not immediately visible.