Skip to content

Issue #6367: Synchronized scrolling may jump or stall when the two HTML documents' sections differ - #6368

Merged
reckart merged 1 commit into
release/42.xfrom
bugfix/6367-Synchronized-scrolling-may-jump-or-stall-when-the-two-HTML-documents-sections-differ
Nov 7, 2026
Merged

reckart merged 1 commit into
release/42.xfrom
bugfix/6367-Synchronized-scrolling-may-jump-or-stall-when-the-two-HTML-documents-sections-differ

Conversation

@reckart

@reckart reckart commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

What's in the PR

  • Align Apache Annotator scroll sync by segments between shared section keys, with a 0.5 viewport-height band for sections only one side has, instead of region-by-region alignment
  • Glide synced viewport positions over several frames when they are far away, so reordered sections no longer cause jumps
  • Let editors report whether a scroll is their own sync, replacing the exact-position echo marker in the viewport sync hub
  • Add parent keys and viewport height to section positions in the editor viewport sync API
  • Add the scroll sync playground with its server script and the scroll sync gap test scenario document
  • Add unit and browser tests for segment alignment, the band, glide and echo detection

How to test manually

  • See issue description

Automatic testing

  • PR includes unit tests

Documentation

  • PR updates documentation

…ML documents' sections differ

- Align Apache Annotator scroll sync by segments between shared section keys, with a 0.5 viewport-height band for sections only one side has, instead of region-by-region alignment
- Glide synced viewport positions over several frames when they are far away, so reordered sections no longer cause jumps
- Let editors report whether a scroll is their own sync, replacing the exact-position echo marker in the viewport sync hub
- Add parent keys and viewport height to section positions in the editor viewport sync API
- Add the scroll sync playground with its server script and the scroll sync gap test scenario document
- Add unit and browser tests for segment alignment, the band, glide and echo detection

Assisted-by: Anthropic Claude (claude-opus-5-5)
@reckart reckart added this to the 42.3 milestone Nov 7, 2026
@reckart reckart self-assigned this Nov 7, 2026
@reckart
reckart merged commit 5da939e into release/42.x Nov 7, 2026
4 checks passed
@reckart
reckart deleted the bugfix/6367-Synchronized-scrolling-may-jump-or-stall-when-the-two-HTML-documents-sections-differ branch November 7, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant