WarUI

Scroll synchronization across panes

GRID-A06-F11P0baselinePlanned

Header, body, pinned column panes, pinned row panes and the footer stay synchronized for wheel, trackpad, touch, scrollbar drag and keyboard scrolling. One scroll source drives all panes in the same frame, which avoids visible drift. Wheel input over pinned panes scrolls the body.

Planned. This page shows the specification from issue #183. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Grid with left/right pinned columns, top/bottom pinned rows, and a header; a drift indicator compares pane offsets per frame.

Expected behavior

The drift indicator stays at 0px in every input mode. Wheeling over pinned panes scrolls the body vertically. Horizontal wheel over the left pane does not scroll the left pane itself.

Planned API surface

scrollSyncModeonScrollgetScrollPosition()setScrollPosition({top, left})

Acceptance criteria

  • Within a single animation frame, every pane's applied offset matches the source scroll position (measured by the test harness). (pending)
  • Wheel and touch events over any pane are routed to the main scroll source. (pending)
  • No scroll event feedback loops occur (each sync results in at most one handler invocation per frame). (pending)
  • Passive listeners are used where possible, and this is documented. (pending)