-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Horizontal scrollbar doesn’t shrink after the long line getting shortened #13516
Comments
We never got to implement that it shrinks :) We do something very easy:
|
@alexandrudima I think this bug (or feature) is somehow fixed (or implemented), can you verify it? |
We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding and happy coding! |
I might not go so far as to say this is crucial, but I think it is quite important. In my duplicate bug report I pointed out how touchpads can scroll horizontally and vertically at once, so the scrollbars can be quite a nuisance. Every other editor I've used resizes the viewport as soon as a long line is deleted. If your implementation is as simple as you say in the second comment here, can't you simply reset |
Hi, Any updates on this issue? :) |
There are two workarounds: enable Word Wrap, or press Ctrl-B/Cmd-B twice whenever the width needs to be corrected. |
Thanks @realh! Just for reference: If GitLens's show-blame-per-line config is enabled, the trick won't work. |
Steps to Reproduce:
If I resize the window, the horizontal scrollbar disappears, but If I only delete the long line, the horizontal scrollbar still exists.
The text was updated successfully, but these errors were encountered: