Esc key does not exit context menu

Steps to reproduce

Hit right click or the AppsKey to bring up the context menu.

Expected result

Clicking the Escape key should close the menu and return the cursor to its previous focus.

Actual result

Nothing happens, the context menu does not close.


  • Operating system: Windows 10, Version 20H2
  • Obsidian version: v0.12.10

Additional information

Please, search before posting.