scroll-sync
scroll-sync copied to clipboard
Scroll goes out of sync
Description
After a number of edits between the two files, the views are not aligned anymore. When trying to fix this, by disabling the scroll-sync and manually aligning, the views go out of sync once the sync is re-activated.
Steps to Reproduce
- Activate scroll-sync
- Delete and add some spaces, or code
- After a while the views are out of sync
- Disable the plugin
- manually align
- Enable the plugin
- The views go out of sync as if the previous scroll position was saved (uses the last scroll position from just before disabling the plugin)
Expected behavior: to ignore last scroll position and just acquire the new one
Actual behavior: the last scroll position (from before disabling the plugin) is used when activating it a second time
Reproduces how often: 100%
Versions
macOS 11.6.1, Atom 1.58.0, apm version command not recognised
Additional Information
n/a