End composing when inserting text (flutter/engine#24866)
https://github.com/flutter/flutter/issues/77544
This commit is contained in:
@@ -282,6 +282,7 @@ static flutter::TextRange RangeFromBaseExtent(NSNumber* base,
|
||||
_activeModel->AddText([string UTF8String]);
|
||||
if (_activeModel->composing()) {
|
||||
_activeModel->CommitComposing();
|
||||
_activeModel->EndComposing();
|
||||
}
|
||||
[self updateEditState];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user