Skip to content

Keyboard navigation in context menu — arrow key focus cycling #48

Description

@hateofhades

What: When the context menu is open, arrow keys move focus between items.
Why: Makes the app feel like a native desktop application. Enter/Space/Escape are already shipped — only arrow key cycling between items remains.
Cons: Requires a focused_index: Signal<Option<usize>> and coordinating focus with all item variants (actions, category picker rows, new-cat input).
Context: Enter/Space activate items, Escape closes, and Tab navigates (tabindex on all items) — all shipped in the context menu PR. Remaining gap is ↑/↓ arrow cycling between items.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions