-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Hide vertical scrollbar when not needed. #1362
Comments
+1 Reasons to do it:
Will it bring sensible performance issues ? |
@danyaPostfactum +∞
Getting rid of setting scrollleft will only improve performance since it causes sync reflow As about hiding vertical scrollbar, there's easier way, (i needed to do it for autocomplete popup) |
Been trying to figure out where the option is for this, shocking there is no straightforward way. All I want to do is hide the vertical scrollbar until it is needed. This is how the horizontal one works by default, and make a multi editor environment look much sleeker. I'm tempted to write a hack-ish solution, but i feel this should be a simple built in flag, which most likely should be on by default. |
added option vScrollBarAlwaysVisible |
Currently, the vertical scrollbar is always present, and when there is no need for it (i.e. text does not go past the bottom of the editor) it can look a little messy/out of place (in my opinion). Most text areas only show scrollbars when they are actually needed, and I think this would be a good principle to adopt.
The text was updated successfully, but these errors were encountered: