Context menus not keyboard navigable (arrow keys and enter)

Steps to reproduce

  1. context menu key (or shift + f10) while text cursor hovering appropriate link item such as a local attachment
  2. up or down with context menu open
  3. various attempts at resolving the context popup without a mouse, ideally by selecting an option rather than aborting
    3a. enter (nothing highlighted)
    3b. esc (known issue)
    3c. navigating focus away from note
    3d. closing all notes

Expected result

  • keyboard control ought to apply to context menu rather than note context until pop-up is resolved via an option being selected or aborting.
  • up and down ought to shift the highlighted item
  • enter ought to activate the highlighted selection
  • esc ought to close the popup (known issue)
  • context menu ought to abort if the note loses focus (minor)

Actual result

  • context menu key succeeds in opening pop-up
  • pop-up completely transparent to keyboard-driven operation
  • pop-up survives loss of context focus or context being closed completely (minor)

Environment

OS Name: Microsoft Windows 10 Home
OS Version: 10.0.19041 N/A Build 19041
Obsidian Version: v0.11.0

Additional information

known related issue
demo

Search/open a feature request.

A post was merged into an existing topic: Keyboard shortcuts and navigation for dialog and pop-up modals