Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse pointer jumps up vertically when selecting text #63

Open
Frogperson opened this issue Jan 30, 2025 · 1 comment
Open

Mouse pointer jumps up vertically when selecting text #63

Frogperson opened this issue Jan 30, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Frogperson
Copy link

Describe the bug
When selecting text, the selection immediately jumps up several lines. Releasing click correctly brings the cursor back down to where it should have been, and my selection ends up being correct. It's only while dragging that the selection is offset.
I've tested on both Flutter 3.28.0-0.1.pre and 3.29.0-0.2.pre.
This issue does not happen if readOnly in the CodeEditor is set to true.

To Reproduce
Steps to reproduce the behavior:

  1. Install the latest Flutter beta
  2. Run the example project on web
  3. Click and drag to select text
  4. Notice how the text selection jumps up

Expected behavior
Text selection should exactly follow my cursor while dragging

Screenshots

@Frogperson Frogperson added the bug Something isn't working label Jan 30, 2025
@alsemitoo
Copy link

I have also encountered this issue, but only in EDGE and Chrome. In firefox however, this issue seems to not happen. If you find any solution please let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants