Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
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

Closed

Description

@nathansobo

screen shot 2014-03-06 at 8 23 54 am

Check it out. Also, when I started typing on this line it mis-aligned the scroll position of the editor permanently.

Activity

  1. izuzak commented on Apr 21, 2014

    @izuzak
    Contributor

    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:

    Permanently displayed horizontal scroll bar hides search result that was out of view.

    Steps to reproduce:

    1. have scroll bars permanently enabled in the OS
    2. open a long and wide enough file
    3. do a search that lands out of view
    4. 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.

  2. nathansobo commented on Apr 23, 2014

    @nathansobo
    ContributorAuthor

    I'm working on fixing this in the new editor.

  3. kaiserfro commented on Jul 16, 2014

    @kaiserfro
    Contributor

    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.

    image

    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.

  4. izuzak commented on Jul 22, 2014

    @izuzak
    Contributor

    image
    Basically, the horizontal scroll bar is being rendered on top of the line numbers, gutter, and the rule line.

    @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.

  5. lock commented on Jan 26, 2019

    @lock

    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!

  6. locked as resolved and limited conversation to collaborators on Jan 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions