(updated title to more accurately reflect findings after additional troubleshooting, see further down in the thread for more accurate description of behavior)
Original bug report follows this line
Steps to reproduce
While working in a long note (Note A) in edit mode, use Cmd+Shift+Click to open a link to Note B in a new pane.
Expected result
Note B opens in the new pane and the cursor position in the still-open Note A does not change.
Actual result
Note B opens correctly, but the cursor in Note A moves to the end of Note A or to the beginning of Note A.
This behavior is not consistent. Currently while working in a note (Note A) it is happening each time I Cmd+Shift+Click a link in edit mode, and each time it is moving the cursor to the end of Note A immediately after opening Note B in the new pane. A few days ago while working in another long note the cursor would move to the top of the note.
When the cursor moves it scrolls the screen to the top/bottom and I have to scroll back to my original position. This is frustrating when working with multiple notes from an outline for example.
Again, this doesn’t happen all the time, but seems to happen more often than not on longer notes. The current note is 2,227 words.
Environment
- Operating system: MacOS 10.15.7
- Obsidian version: Obsidian 0.11.0
Additional information