Keyboard navigation through virtualized regions
Arrow, Page, Home, End and Ctrl+Home/End navigation moves focus across unrendered rows and columns. The grid renders the target before focusing it. Focus is tracked by logical coordinates, not DOM nodes, so recycling never loses it.
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
1,000,000 rows by 300 columns with pinned columns; the first cell focused, and a readout of the logical focus coordinates.
Expected behavior
Every key press yields a visible, focused cell even with overscan 0. Holding ArrowDown scrolls continuously without losing focus. Scrolling away with the mouse and pressing an arrow key resumes from the logical focus.
Planned API surface
focusedCellsetFocusedCell({row, col})onCellFocusedpageSizeModeAcceptance criteria
- After any navigation key, document.activeElement represents the logical focused cell. (pending)
- Focus survives scrolling the focused row out of range and back (re-applied to the recycled node). (pending)
- PageDown moves by the visible row count, minus one for context, as documented. (pending)
- Holding a key does not queue unbounded scroll work (coalesced per frame). (pending)