vscode-sync-scroll icon indicating copy to clipboard operation
vscode-sync-scroll copied to clipboard

Sync is consistently off by 4 lines

Open arcyc opened this issue 1 year ago • 7 comments

I've used this on many machines with no issues, but after a new install on a new machine, the sync is consistently off by 4 lines - if I start at line 1 on both left and right files, and scroll one line at a time with the mouse wheel (set to 1 line at a time), the left file doesn't start scrolling until line 6 on the right, at which point the left window is at line 2, and it consistently stays offset by 4.

arcyc avatar Mar 27 '24 00:03 arcyc

Note, I confirmed this is happening on all machines now with latest VS Code

arcyc avatar Mar 27 '24 01:03 arcyc

Per https://github.com/dqisme/vscode-sync-scroll/issues/36, I confirmed this is due to Sticky Scroll being enabled, which looks like it is now enabled by default, thus the change in behavior.

arcyc avatar Mar 27 '24 02:03 arcyc

Was just looking for a fix to this. Thank you!

volatileheap avatar Mar 27 '24 13:03 volatileheap

In my case, there is a constant 5 lines offset. Both the latest VS Code and Sync Scroll plugin

BYJRK avatar Apr 03 '24 06:04 BYJRK

any fix?

Areha11Fz avatar May 09 '24 10:05 Areha11Fz