-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsplatform-iosiOS applications specificallyiOS applications specifically
Description
In the friendlychat app there is a racecondition on iOS between clearing the text field and inserting the autocomplete suggestion when hitting send. To reproduce:
- Load https://github.com/flutter/friendlychat-flutter/blob/master/full_steps/step_2_sign_in/lib/main.dart#L166 onto a phone
- enter text in the text field that iOS wants to autocorrect
- hit send
The original text will get send, the autocorrected text ends up in the text field even though it should have been cleared: https://github.com/flutter/friendlychat-flutter/blob/master/full_steps/step_2_sign_in/lib/main.dart#L166
In addition to that, after this happened, there is still a cursor in the text field suggesting that I can continue typing. However, all keystrokes are ignored until i click in the text field again.
/cc @cbracken
Metadata
Metadata
Assignees
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsplatform-iosiOS applications specificallyiOS applications specifically