Can type but not line-break with context menu open

I was typing away and noticed that I couldn’t insert a line-break with the Enter key. Then I realized I had the right-click menu open showing Cut/Copy/etc.

It’s strange to me that with the context menu open you end up in this strange half-working state. I would expect that either typing works as normal, or typing any character closes the context menu. The way it works now is broken one way or the other.

Steps to reproduce

  • Open a new note
  • Click into the editor so the cursor is ready for input
  • Right-click anywhere in the editor to open the context menu
  • Begin typing and press the Return key

Expected result

Either:

  • the context menu closes when you type, and input works as normal

Or:

  • Input is prevented/ignored while the context menu is open

Actual result

You can type alphanumeric + symbol characters, but the Return key does not insert a line break.

Environment

  • Operating system: macOS 12.1
  • Debug info:
SYSTEM INFO:
	Obsidian version: v0.14.6
	Installer version: v0.13.31
	Operating system: Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 21.2.0
	Login status: logged in
	Catalyst license: none
	Insider build toggle: off
	Live preview: off
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Safe mode: on

RECOMMENDATIONS:
	none

Additional information

thanks