Files
romm/frontend
Georges-Antoine Assi 21ccdda7a7 fix(v2): move focus by arrow key and D-pad between page regions
Arrow keys (and the D-pad, which useGamepad turns into arrow keys) only
moved focus inside a useGridNav/useWrapGridNav region, so from the game
page's action ribbon up/down had no target and the top bar was
unreachable by pad.

Add useSpatialNav, installed by AppLayout: for arrow keys no grid or
widget claimed, it focuses the nearest control in that direction and
scrolls it into view when it is off-screen or under the fixed bars. The
grids now listen on document so they run first and leave edge moves to
it. FOCUSABLE_SELECTOR moves to a shared util.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-27 14:55:35 -04:00
..
2026-05-30 20:53:52 -04:00
2026-07-26 14:14:07 -04:00