You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Horizontal scrollbar obscures last line of file and screws up editor scroll position #1711
This is a recent email we received, which describes the problem in the context of searching, but I think it's the same thing:
Permanently displayed horizontal scroll bar hides search result that was out of view.
Steps to reproduce:
have scroll bars permanently enabled in the OS
open a long and wide enough file
do a search that lands out of view
notice that selection is behind horizontal scroll bar
...
On my laptop I can only reproduce it on the last line (as you did) with a quick foo test in a Go file. On my workstation, the problem occurs (or did occur, maybe an update partially fixed this as I’m on 0.89 right now and I can’t check it at work until monday) on many lines, not just the last. It seems search now does an effort to vertically “center”/show more lines below the match, somehow working around the issue. Still, the behaviour was exactly the same, only applied to any line, not just the last one. Notwithstanding the potentially new “pseudo-center” feature, the cause is certainly the same for all lines regardless of their position, last or not, and I’m positive the fix for the last line (which boils down to properly taking into account the existence of the horizontal scroll bar when calculating scrolling position for visibility) will fix it for any line in one fell swoop.
I'm using atom cdb5fe1 on Ubuntu 13.10 32-bit. I am using the new react editor. I've got a small quirk that feels like this issue.
Basically, the horizontal scroll bar is being rendered on top of the line numbers, gutter, and the rule line. My file has only 1 line in it, but is wider than the window allows, so there is no text that would be overlapped. It looks like the scrollbar should separated out from the rest of the edit view.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
izuzak commentedon Apr 21, 2014
This is still a thing -- we get an email about this every few days.
This is a recent email we received, which describes the problem in the context of searching, but I think it's the same thing:
nathansobo commentedon Apr 23, 2014
I'm working on fixing this in the new editor.
kaiserfro commentedon Jul 16, 2014
I'm using atom cdb5fe1 on Ubuntu 13.10 32-bit. I am using the new react editor. I've got a small quirk that feels like this issue.
Basically, the horizontal scroll bar is being rendered on top of the line numbers, gutter, and the rule line. My file has only 1 line in it, but is wider than the window allows, so there is no text that would be overlapped. It looks like the scrollbar should separated out from the rest of the edit view.
izuzak commentedon Jul 22, 2014
@nathansobo I can reproduce this. It seems that the horizontal scrollbar goes over the gutter in the react editor, but doesn't in the old editor.
lock commentedon Jan 26, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!