Selection is not cleared when I have multiple CodeEditors and focus on a different one

Open
#91 1 comment 0 reactions 1 assignee View on GitHub

@MegatronKing is already working on this.

Since Jun 26, 2025.

Assessment

This issue has not been assessed yet.

Description

bug

Describe the bug
If I have 2 or more CodeEditors in an app, and I make a text selection on CodeEditor #1, then focus on CodeEditor #2, the selection in the first CodeEditor remains.

To Reproduce
Steps to reproduce the behavior:

  1. Have an app with 2 or more CodeEditors
  2. Type text in both CodeEditors
  3. Make a text selection on CodeEditor #1
  4. Focus on CodeEditor #2

Expected behavior
The selection from CodeEditor #1 should be cleared when any other CodeEditor is focused.

Screenshots
Image

Device:

  • iOS & Linux (LinuxMint)
  • Flutter 3.29.3
  • Dart 3.7.2
  • re_editor 0.7.0
Dominant language
Dart
Stars
761
Forks
102
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from reqable/re-editor

All issues in reqable/re-editor

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.