-
Notifications
You must be signed in to change notification settings - Fork 2.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
Fix horizontal scrollbar not to disappear #8898
Conversation
I found |
Signed-off-by: Ken Aoki <[email protected]>
I changed the way to fix. |
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.
LGTM 👍
I confirm that:
- with many opening files on the tab bar, the scrollbar doesn't disappear when either scroll to right or to left.
- resize the application window, the scrollbar still works as expected.
- resize editor view (horizontally and vertically), the scrollbar still appears when scrolling to both ends.
OS: macOS
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.
This looks good to me. This feature of perfect scrollbar causes a lot of pain - it's easy to forget to set the position!
@dukengn @colin-grant-work Thank you for the review. Is there anything I need to do for this PR to be merged? |
@kena0ki, good to go, and now done. |
@colin-grant-work Thank you! |
Signed-off-by: Ken Aoki [email protected]
What it does
Fixes #8886.
The moduleperfect-scrollbar
unnecessarily moves the horizontal scrollbar to right. This PR set position attribute for the horizontal scrollbar tostatic
so that it can't be moved.This PR adds
position: relative
to style for the scrollbar container as per perfect-scrollbar README.How to test
Review checklist
Reminder for reviewers