Skip to content

Conversation

@j4n
Copy link

@j4n j4n commented Jan 15, 2026

My navigation for entering expenses used to be possible using just Tab and Up/Down Arrow Keys; searching for the Category and then choosing the right one with the arrow keys. This broke recently, this PR restores keyboard navigation (Up/Down arrow keys) in category and currency selector dropdowns.

The category and currency selectors use the https://github.com/dip/cmdk library for searchable command menus, according to the examples items should be wrapped in Command.List. The selectors were using a plain

with custom overflow styling instead of CommandList, which seems to have broke arrow key navigation.

Wrap command items in CommandList instead of a plain div to restore
arrow key navigation in the category and currency dropdown selectors.

The cmdk library requires CommandList (CommandPrimitive.List) to handle
keyboard events for navigating between items with Up/Down arrow keys.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant