quill
quill copied to clipboard
[iOS] Text prediction selection remains after setting text to empty string
I'm using Quill (rc5) as a text input component in a chat app. There's a bug on iOS when text prediction is enabled. Namely, the highlighted word for text prediction will remain selected if the user taps a button that calls quill.setText(''). The only fix for now that I've found is to call quill.blur(), however that leads to poor UX since for every sent message the user needs to tap on the editor to retrieve focus and continue writing messages. Did anyone encounter a similar issue. If so, how did you solve it?
Video below:
https://github.com/quilljs/quill/assets/155077894/bf271e00-1366-4d7a-97a2-e425f9b8760e