Split panes: active pane autoscrolled, not the pane that changed
Closed this issue · 2 comments
sperry94 commented
When editing with split panes, if a file in the inactive pane increases in length, the active pane will be scrolled, not the inactive one.
Actual Behavior:
The Auto Scroll
extension scrolls the active pane (static length file) to the bottom and does not scroll the file that actually changed.
Expected Behavior:
The Auto Scroll
extension should scroll to the bottom of the file that actually changed and leave the static-length file alone. The scrolling should be based on the file that changed, not the active pane.
Repro steps:
- Open two files and view them in separate panes.
- Make sure one of the files is increasing in length and one remains static in length. (It helps if the static file is long enough to require scrolling)
- Enable the
Auto Scroll
extension and ensure it's turned on. - Click into the static file and scroll to the top.
- Wait until the file with increasing length requires a scroll.
sperry94 commented
@PejmanNik I have opened a PR for this bug!