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


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.)

I’m surprised that this problem wasn’t fixed quickly. It’s the kind of detail that will infuriate any user. I’m a college teacher, and I love to advise my students on the tools I use myself. Obsidian is a find that I was very proud of. The students thanked me for Obsidian and imovie for windows, and I haven’t been able to get them excited about anything else yet. But the problem with editing files annoys them all. I could offer them a quest and refuse to edit, but then I risk ruining my reputation, haha.

is this bug still happening?

Yeah, still an issue for me on v0.15.6.

Yup, also annoying on PopOS, since at least Obsidian 0.14.15 thru 0.15.6. I wonder if there is any connection to this unsolved search/scroll bug.