Down arrow on LaTeX code block sends you to the top of the page

Steps to reproduce

  1. Place LaTeX code as the last line on the editor.

  2. Place cursor in LaTeX code.

  3. Press down arrow.

Expected result

Cursor should move to the end of the line.

Actual result

Cursor moves to the top of the page.


  • Operating system: macOS Monterey (Version 12.0.1)
  • Obsidian version: 0.13.6

Additional information

CleanShot 2021-11-25 at 17.16.22

For the time being, please report live preview bugs on discord: Discord