You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous implementation of arrow key navigation was incomplete, only handling a few specific transitions. This made navigating the grid of actions with the keyboard feel broken and unintuitive.
This commit replaces the sparse `if/else` logic with a comprehensive `switch` statement for each arrow key direction (`up`, `down`, `left`, `right`). This ensures that navigation is circular and predictable from any focused action button, wrapping around the 2x2 grid as expected.
0 commit comments