Skip to content

🐞 Editor randomly jumps up on it's own #28

Closed

Description

@nkleemann

Description

I've noticed that when editing near the bottom of a file, and using editing commands such as "Shift-ArrowKey" to select text, the editor view jumps up to the beginning of the file.

I could record it happening here (my keypresses are visible bottom right) - see attached screen recording.

To Reproduce

  1. Edit a file near the bottom of the View
  2. Select text using Shift-Arrow

Expected Behavior

The editor window shouldnt move on its own.

Version Information

CodeEditTextView: main branch
macOS: [e.g. 13.6.2]

Additional Context

No response

Screenshots

Screen Recording

Activity

  1. thecoolwinter commented on Feb 6, 2024

    @thecoolwinter
    Contributor

    Can you confirm if this issue is still happening? We merged the new text view the day this was opened, but have made a bunch of changes since then.

  2. nkleemann commented on Feb 6, 2024

    @nkleemann
    Author

    Yes, same thing still happens - just tested it on a document that is just long enough so that the editor view scrolls.

    Selecting text with Shift+ causes the editor to automatically jump/scroll to the top. This happens anywhere in the file, as long as the view itself is scrolled up a bit. After the editor jumps, I can't see the cursor anymore, but the text insertion point doesn't change.

  3. thecoolwinter commented on Feb 7, 2024

    @thecoolwinter
    Contributor

    Thanks for the update, I'll look into this.

  4. added a commit that references this issue on May 16, 2024
    a436751
  5. moved this from 🏃‍♂️ In Progress to 🏁 Complete in CodeEdit Projecton May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions