Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
When editing, writing enough to require a scrollbar causes a slight rewrapping of all text #162
Describe the bug
When I write enough to need a scrollbar on the edit view, the content I'm writing gets rewrapped slightly. Not a big deal, but distracting when it happens.
(There screenshots were created on a fairly narrow window, so that they weren't enormously wide, but the same issue occurs when the window is fullscreen on my 1920px wide screen and there is a gulf of empty space between the text and the scrollbar.)
Steps to reproduce (if necessary)
Steps to reproduce the behavior:
The text area should have been unaffected by the scrollbar appearing.
Google Chrome Version 76.0.3809.87 (Official Build) (64-bit) on Ubuntu 19.10
Version or last commit: 0.10
Thanks for the input, @OddBloke. I think this is default Chrome (and probably other browsers) behavior -- hiding the scrollbar unless it's necessary.
Without any research, I'd assume we could add some custom-styled scrollbars to address this? Maybe that would force them to always show? If that's the solution, I'd just have concerns with accessibility and OSes (like macOS) that have system settings for hiding scrollbars.
I'm not a front-end engineer at all, I'm afraid, so I won't have much useful input on a solution here.
To clarify, I do like the scrollbar only appearing once it's needed, I think that makes the experience much cleaner. It's the fact that its appearance causes text rewrapping that bugs me.