Atom: Scrollbar not refreshing when pasting code

Created on 7 Aug 2016  路  3Comments  路  Source: atom/atom

Prerequisites

For more information on how to write a good bug report or enhancement request, see the CONTRIBUTING guide.

Description

When pasting a long one-line text that forces the view to scroll horizontally or vertically, the scrollbar stays at its initial position. The problem seems to only occur if there is no scrollbar present. When trying to achieve the same result when there is already a scrollbar visible, it will work fine.

Steps to Reproduce

  1. Open Atom in safe mode
  2. Open a new untitled tab
  3. Paste the contents of this file in to the new untitled tab.
  4. Expected: Scrollbar to be at the bottom since the TextEditor is scrolled to the bottom. Acutal: Scrollbar stays at the top of the file. This bug applies to both vertical and horizontal scrollbars.

Expected behavior:

The scrollbar should appear and then indicate that the view has been scrolled.

Actual behavior:

The scrollbar didn't indicate that the site was scrolled. It stayed at its initial position on the left.

Versions

Atom : 1.9.5
Electron: 0.37.8
Chrome : 49.0.2623.75
Node : 5.10.0
macOS/OSX El Capitan

bug triaged ui

Most helpful comment

Confirmed on Atom 1.12.0-beta5. Windows 7 using the Atom Dark and One Dark theme in safe mode.

All 3 comments

I have the same issue with both scrollbar (horizontal and vertical).

Tested in --safe mode:

issue

Versions

Atom : 1.11.2
Node : 6.3.1
SO: Manjaro XFCE 16.10

Confirmed on Atom 1.12.0-beta5. Windows 7 using the Atom Dark and One Dark theme in safe mode.

Any update on this?

Was this page helpful?
0 / 5 - 0 ratings