diff --git a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm index c8030e85c5a..159d7c74e52 100644 --- a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm +++ b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm @@ -282,6 +282,7 @@ static flutter::TextRange RangeFromBaseExtent(NSNumber* base, _activeModel->AddText([string UTF8String]); if (_activeModel->composing()) { _activeModel->CommitComposing(); + _activeModel->EndComposing(); } [self updateEditState]; }