Obsidian doesn't reset scroll position after switching between files

Steps to reproduce

  1. Open Obsidian Help.
  2. Open a long file. Obsidian shows scroll bar.
  3. Scroll down.
  4. Switch to a short file. Obsidian hides scroll bar.
  5. Switch back to a long file.

Expected result

Obsidian open file at the beginning. Scroll position also at the beginning.

Actual result

Obsidian open file at the beginning. But with old scroll position.

Environment

  • Operating system: Windows 11 (Version 10.0.22000.282)
  • Obsidian version: 0.12.19

Additional information

Look at repro video: 2021-11-09 14-23-31-Obsidian-scroll-bug.zip (2.3 MB)

thanks.

Tracked by upstream bug:

this should be fixed in 0.13.6

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.