Document position moves when switching from reading view to editing view

If you switch from reading view to editing view in a note, the document scrolls up rather than staying in place as expected. If you switch back to reading view, the document will be in the right place, and then any subsequent switches will work properly. If you exit the note or go to another note, this fixed state resets. This happens on a fresh vault and on any note.

I’ve tested each scenario with both the new and legacy editor and recorded videos as well. Also, it doesn’t matter if the editing mode is Source or Live Preview, the behavior is the same.

New Editor:
Reading → Editing - Document jumps | Video
Editing → Reading - No issue

The behavior when using the legacy editor is a bit different.

Legacy Editor:
Reading → Editing - Document jumps, but not as much compared to the new editor | Video
Editing → Reading - No issue
Editing → Reading → Editing - No issue on first switch, but then document jumps a tiny bit on the second | Video

Debug info:
Obsidian version: v0.13.23
Installer version: v0.13.23
Operating system: Windows 10 Pro 10.0.22000
Login status: not logged in
Insider build toggle: off
Live preview: off
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Safe mode: on

1 Like

thanks

1 Like

I am finding this an issue too. The jumping is quite disruptive when you are looking for a line n a longer note and find that you have to make some edits to it. You currently lose yourself when switching ose and have to scroll back and forth to find the line you were on, both ways. This takes time.

It would be great if the vertical position of the notes on screen could be fixed whatever other parameters are changing (e.g whether embedded images are rendered or not, other panes are open or not etc.)