mirror of
https://github.com/flutter/flutter.git
synced 2026-02-05 11:19:18 +08:00
Fixes https://github.com/flutter/flutter/issues/154156 Some iOS keyboard implementations change the selection in the text field if dismissed with active composing regions. The framework should not call `requestKeyboard` in such cases since that would bring up the keyboard again. In general the `TextInput.show` call is not needed for selection only changes. For working around https://github.com/flutter/flutter/issues/68571 the show call is needed only if we restarted the input on Android (and we don't restart on selection-only changes any way).