Using the navigation pane inserts unwanted line breaks

Describe the bug
When you press Enter to open a page using the navigation pane Anytype will insert line breaks in the page from which the navigation pane was opened.

To Reproduce

  1. Open a page
  2. Click into a text block as if you wanted to edit it
  3. Press Ctrl + O to open the navigation pane
  4. Navigate to a different page, press Enter to open it
  5. Press Esc
  6. There is a line brake inserted in the text block of the original page

Expected behavior
Editing pages should be disabled while using the navigation pane.

System Information:

  • OS: Linux - Fedora 35
  • Anytype Version: e.g. 0.20.9

Was marked solved by div3xi.