Skip to content

v1.3.1

Latest

Choose a tag to compare

@tedwardd tedwardd released this 12 Feb 13:53
· 1 commit to main since this release

Edge-scrolling past first/last selectable link

When at the first or last selectable link, pressing Up/Down now scrolls the view to reveal non-selectable info text (headers, footers) that may be hidden off-screen. The cursor stays on the current link while the page shifts to show the hidden content in a single jump.

Changes

  • Track firstSelectable/lastSelectable indices after menu parse
  • Use minimum-scroll when navigating to first/last selectable so header/footer info stays initially hidden
  • Preserve manual pageStart adjustments in DisplayMenu by only recalculating when selectedIndex is off-screen
  • Reset pageStart on new menu load to prevent stale values