This repository was archived by the owner on Mar 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17.3k
Scrollbars move to the top of the file when splitting panes or closing split panes #13265
Copy link
Copy link
Closed
Labels
bugtriagedwindowsIssues that occur on Windows but not on other platforms.Issues that occur on Windows but not on other platforms.
Description
Prerequisites
- Are you running the latest version of Atom?
- Can you reproduce the problem in safe mode?
- Did you check the debugging guide?
- Did you check the FAQs on Discuss?
- Are you reporting to the correct repository?
- Did you perform a cursory search to see if your bug or enhancement is already reported?
For more information on how to write a good bug report or enhancement request, see the CONTRIBUTING guide.
Description
- When I open a large file and move the cursor to the bottom, and then click View->Panes->Split Right.
I found the scroll bar position of previous pane rewind to the top but the cursor is still on the last line.
Steps to Reproduce
- Start Atom using
atom --safefromcmd.exe - Open any file and resize the Atom window so you have a vertical scrollbar visible
- Scroll to the middle of an opened file
- Run
pane:split-right-and-copy-active-item - Expected: The scrollbars to stay in the same position for both files. Actual: The scrollbars in both files moves to the top of the file
- Close the right pane
- Expected: The scrollbar position of the first file to not change. Actual: The scrollbar in the first file is displayed at the top of the file.
Expected behavior: [What you expected to happen]
scroll bar position should no change
Actual behavior: [What actually happened]
I found the scroll bar position of previous pane rewind to the top but the cursor is still on the last line.
Versions
Atom : 1.12.0
Electron: 1.3.6
Chrome : 52.0.2743.82
Node : 6.3.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugtriagedwindowsIssues that occur on Windows but not on other platforms.Issues that occur on Windows but not on other platforms.

