You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Back from a linked document does not restore the previous scroll position #2082
What happens: In annotate mode, open a Markdown document, scroll down to the middle, click a link to a local HTML file (it opens as a linked document), then click Back. The Markdown document is shown again, but scrolled to the bottom instead of where I was when I clicked the link.
Expected: Back returns to the scroll position the document had when the link was clicked, like a browser's back navigation.
Why it matters: A long document with many figures links each figure to an HTML page for a closer look. After every Back I have to find my place again.
Pointer: packages/ui/hooks/useLinkedDoc.ts: back() restores the plan state and render mode, but no scroll position appears to be saved before opening the linked document.
Version: 0.28.24 (also checked the 0.28.25 / 0.28.26 release notes; not mentioned there).
Activity
backnotprop commentedon Oct 22, 2026
Fixed in #2084.
fix(ui): Back from a linked document returns to where the reader was
fix: Back in a multi-file annotate session keeps the reader's place