singerdmx / flutter-quill

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

Incorrect caret position if using floating keyboard on Android Device #2311

Open AaronChangView opened 1 month ago

AaronChangView commented 1 month ago

Is there an existing issue for this?

Flutter Quill version

10.8.2

Steps to reproduce

  1. Run sample app. Click "Empty"
  2. Type something with floating keyboard
  3. Change caret position
  4. Type something with floating keyboard

Expected results

Insert characters at the correct position.

Actual results

The caret jumps to the wrong position. Can't insert characters at the correct position.

https://github.com/user-attachments/assets/a65aacab-2ed9-46e2-aed0-d524dcfc8e84

Additional Context

Screenshots / Video demonstration [Upload media here]
Logs ```console [Paste your logs here] ```
AaronChangView commented 1 month ago

The root cause may relate to this issue: https://github.com/MisterJimson/flutter_keyboard_visibility/issues/114#issue-1276026947