Skip to content

v0.2.6

Choose a tag to compare

@github-actions github-actions released this 04 Jul 17:25

Fixed

  • Scroll sync could stay half-broken on documents that exactly fill the
    viewport
    — the preview's scroll-fraction math divided by
    scrollHeight - clientHeight, which is 0 when there's no overflow to
    scroll yet. That produced NaN, which poisoned a duplicate-suppression
    check downstream and could stop scroll sync from engaging until you
    scrolled the preview manually once. Guarded with Math.max(1, ...) so it
    never divides by zero.

Added

  • Automated UI test coverage for scroll syncScrollSyncUITests
    drives the real app end-to-end (types a long document, scrolls one pane,
    asserts the other pane's exposed scroll position updates) covering both
    sync directions, so this class of regression gets caught before release.
  • The editor and preview panes now expose their live scroll position as an
    accessibility value/label, which both the new UI tests and assistive
    tech can read directly.

Full Changelog: v0.2.5...v0.2.6