logseq
logseq copied to clipboard
Opening a page will try to "jump" to the vertical position of the previous page
What happened?
If you are on a "long" page, and you click on a page reference to another "long" page, the new page will not open at the top. It will open somewhere in the middle.
This generally doesn't happen if the referring page is scrolled all the way to the top, when the new link is clicked.
Reproduce the Bug
- Create a page called "test1"
- Fill "test1" with a wall of text.
- Open another page called "test2"
- Fill "test2" with a wall of text.
- Somewhere in the middle of "test2", add a [[test1]] reference. Make sure you have to scroll down the page a bit.
- Click on the [[test1]] reference.
- You will land somewhere in the middle of "test1". You will not land at the top of the page.
Expected Behavior
I would expect a new page to open at the top - not somewhere in the middle.
Screenshots
Here's a video to demonstrate: https://youtu.be/ov4TNhJloS0
Desktop Platform Information
Arch Linux, x11, GTX 1070 Logseq 0.7.6 (from the AUR)
The bug exists in the exported web app, as well.
Mobile Platform Information
No response
Additional Context
No response