-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
TOC: Scrolling: Fixed TOC links and scrolling #3318
Conversation
They are different solutions for sure. But the other solution does look like improvements. But I haven't actually reviewed the changes thoroughly. But he corrects the usage of |
I recently pulled master from the upstream repository, and it doesn't seem like scrolling is working as expected from the @Flexo013 Are you experiencing the same thing? Unexpected behavior from |
@hikerpig I recently pulled master into this branch (yeseterday), and it includes your commit. |
Remove overcomplicated solution for scrollbar styling.
|
@hikerpig Looks like it works |
I noticed that your changes weren't in my sandbox. I'm glad it's working now though. |
I'm assuming the variance has to do with Does that sound right? |
@hikerpig ToC works. Did you experience this behavior from your own fork? |
@shmolf I guess so, bue not quite sure, this difference exists before I initial commit about issue 2902. From what I see in Devtools, This may need another PR for proper discussions. |
@ZeroX-DG Since you reviewed the previous related PR could you also review this one? |
@ZeroX-DG Are there anything questions or concerns you have about the changes? |
This one look good to me but I haven't tested it yet. Will do it when I get home. |
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.
Yup, confirm that this solve the bug:) LGTM 🎉
Description
Fixed the Scrolling when clicking a link from the TOC.
Instead of modifying the overflow for
html
, just needed to change the track's background.Also, changed a reference on line 1052 to
this.getWindow()
, so it's consistent with a reference shortly there after.Issue fixed
#3287
Type of changes
Checklist: