singerdmx / flutter-quill

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

[Desktop] Hidden cursor while typing, which complicates deleting with [BACKSPACE] key. #1146

Open izamha opened 1 year ago

izamha commented 1 year ago

My issue is about [Desktop]

The cursor is hidden while typing which makes it quite hard to delete with [BACKSPACE], unless you manually reposition the cursor and delete one character at a time!

Juliotati commented 1 year ago

@izamha This happens when setState or notifyListeners is called from the client side, usually when the input changes. It's happening on mobile too.

It's not an issue when you don't update the UI as the text field changes.

It becomes more of an issue when a button needs to be enabled or disabled depending on the input; which requires calling setState or notifyListeners depending on the use-case

milindgoel15 commented 1 year ago

It is indeed an issue when other/native apps do it fine. The cursor stays visible whether you are typing or deleting.