Skip to content

Scroll goes out of sync #40

@flaviomauri

Description

@flaviomauri

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

  1. Activate scroll-sync
  2. Delete and add some spaces, or code
  3. After a while the views are out of sync
  4. Disable the plugin
  5. manually align
  6. Enable the plugin
  7. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions