Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Text prediction selection remains after setting text to empty string #4112

Open
dr-zr opened this issue Apr 15, 2024 · 0 comments
Open

Comments

@dr-zr
Copy link

dr-zr commented Apr 15, 2024

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:

Simulator.Screen.Recording.-.iPhone.X.-.2024-04-15.at.11.05.15.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant