diff --git a/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm b/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm index dd4492d7e0069..da64123432f93 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm +++ b/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm @@ -589,7 +589,7 @@ - (BOOL)hasText { } - (void)insertText:(NSString*)text { - _selectionAffinity = _kTextAffinityUpstream; + _selectionAffinity = _kTextAffinityDownstream; [self replaceRange:_selectedTextRange withText:text]; }