I’ve encountered an issue where, when switching between two tabs, the cursor remains in its original position on the line, but the page unexpectedly scrolls all the way to the bottom. This behavior disrupts the editing flow and can be frustrating during time-sensitive work sessions.
Steps to Reproduce:
Open two tabs in Obsidian.
Start writing on a specific line in one tab.
Switch to the second tab (or back to the first tab) while still editing ( using go to previous / next tab shortcuts )
Notice that although the cursor stays at the same line, the view scrolls to the bottom of the document.
Expected Behavior:
The view should maintain its current scroll position or adjust appropriately to keep the cursor visible. The switching between tabs should not trigger an unexpected scroll to the bottom.
Workarounds/Attempts:
I’ve tried disabling various community plugins and switching themes, but the issue persists.
As a temporary measure, manually scrolling back to the intended position can work, but it’s not a practical long-term solution.
I apologize for the delay. I’ve attached a screen recording demonstrating the issue using the sandbox vault.
Details:
Vim Mode: ON
Reproduction Steps:
The bug occurs within a callout that contains nested bullets (which I frequently use in my weekly reviews).
After using the zz command (in Vim mode) to center the cursor, I noticed that when switching back and forth between notes, the scroll position of the note unexpectedly moves down.
Please let me know if you need any further information.
I’m having the same issue. In Linux, if I switch away to another window, it’s like Obsidian’s picking up on any scrolling activity globally. In the other app window, let’s say I scroll down. After switching back to Obsidian, the first scroll event makes Obsidian jump in that scroll direction to catch up to that globally scrolled amount in that direction. If I scroll up in the other app, the first Obsidian scroll amount and direction jumps to match what it thinks the global scroll direction/amount to be. Then it scrolls normally from that point. This is EXTREMELY annoying behavior and I’ve only seen Obsidian do this. If your other apps did this, you’d throw your system in the trash. My expectation is that Obsidian should ignore scrolling done in other apps. This is how other apps function. By it jumping around to obey scrolling from other apps, it loses focus on what content I was viewing in Obsidian. Incredibly annoying. Please fix this, Obsidian devs.
@ast2 & @warelock I can’t reproduce and I am not sure your problem is the same as OP. Can you please open a bug report and make sure you read and follow the troubleshooting instructions and bug report template instructions. Thanks.
A screen recording of this happening in the sandbox vault would help too. Thanks