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]: Rich Markdown editor jumps to top of document when selecting/copying text #23596
Remote runtime relay 1.4.215 (desktop app on macOS, file opened on an SSH/remote host)
Details
Short summary
In the rich Markdown editor, selecting text to copy makes the document scroll back to the top on its own. You lose your place in the file, which makes copying anything past the first screen very hard.
Steps to reproduce
Open a long .md file in the rich Markdown editor (edit/pencil mode). Mine has headings, lists, inline code and several tables.
Scroll well down the document (in my case into a table about two-thirds of the way down).
Click and drag to select text inside a table cell, then copy it (Cmd+C).
Expected behavior
The selection is copied and the viewport stays where it was.
Actual behavior
While selecting/copying, the editor jumps back to the top of the document.
A selection ends up highlighted near the top of the file (around the first list items), not where I selected.
The tab then shows the unsaved/dirty dot, even though I didn't type anything.
Anything else that might help
It happens consistently for me, not just now and then.
Activity
SahilZ0810 commentedon Sep 28, 2026
Screen recording (~6s): I select text in a table partway down a long markdown file, and the rich editor jumps back to the top of the document.
orca-markdown-editor-scroll-jump.mov
AmethystLiang commentedon Sep 28, 2026
Thanks for reporting. Looking into it
nwparker commentedon Oct 9, 2026
not sure why this got re-opened...
@AmethystLiang ?
nwparker commentedon Oct 9, 2026
It seems to be fine now. I'm closing this back.