singerdmx / flutter-quill

Rich text editor for Flutter
https://pub.dev/packages/flutter_quill
MIT License
2.6k stars 839 forks source link

First cursor disappears when hitting backspace on android #2378

Open vargab95 opened 1 week ago

vargab95 commented 1 week ago

Is there an existing issue for this?

Flutter Quill version

10.8.5

Steps to reproduce

  1. Open a QuillEditor.basic with some predefined text
  2. Click in the text
  3. Press backspace

Expected results

The character before the cursor is deleted and the cursor remains active.

Actual results

The cursor disappears and the text is untouched. If some normal charaters are touched (a, b, c, etc...), then the character is added to the document, but the cursor disappears and no backspace is possible anymore. When the editor is touched again, the cursor is positioned correctly and works well.

Additional Context

Only observed on android. On linux, it works fine.