Skip to content

[Bug]: Rich Markdown editor jumps to top of document when selecting/copying text #23596

Closed

Description

@SahilZ0810

Operating system

macOS

Orca version

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

  1. Open a long .md file in the rich Markdown editor (edit/pencil mode). Mine has headings, lists, inline code and several tables.
  2. Scroll well down the document (in my case into a table about two-thirds of the way down).
  3. 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

Activity

  1. SahilZ0810 commented on Sep 28, 2026

    @SahilZ0810
    ContributorAuthor

    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
  2. AmethystLiang commented on Sep 28, 2026

    @AmethystLiang
    Contributor

    Thanks for reporting. Looking into it

  3. self-assigned this
    on Sep 28, 2026
  4. nwparker commented on Oct 9, 2026

    @nwparker
    Contributor

    not sure why this got re-opened...
    @AmethystLiang ?

  5. nwparker commented on Oct 9, 2026

    @nwparker
    Contributor

    It seems to be fine now. I'm closing this back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugproducttest-detected-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions