diff --git a/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm b/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm index c8030e85c5ab3..159d7c74e52f9 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm +++ b/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm @@ -282,6 +282,7 @@ - (void)insertText:(id)string replacementRange:(NSRange)range { _activeModel->AddText([string UTF8String]); if (_activeModel->composing()) { _activeModel->CommitComposing(); + _activeModel->EndComposing(); } [self updateEditState]; }