re-editor
re-editor copied to clipboard
Selection is not cleared when I have multiple CodeEditors and focus on a different one
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:
- Have an app with 2 or more
CodeEditors - Type text in both
CodeEditors - Make a text selection on
CodeEditor#1 - Focus on
CodeEditor#2
Expected behavior
The selection from CodeEditor #1 should be cleared when any other CodeEditor is focused.
Screenshots
Device:
- iOS & Linux (LinuxMint)
- Flutter 3.29.3
- Dart 3.7.2
- re_editor 0.7.0
I think you use the same controller in two editors.