End composing when inserting text (flutter/engine#24866)

https://github.com/flutter/flutter/issues/77544
This commit is contained in:
Matej Knopp 2021-03-11 19:27:45 +01:00 committed by GitHub
parent e585aaf2b8
commit fad37e65ca

View File

@ -282,6 +282,7 @@ static flutter::TextRange RangeFromBaseExtent(NSNumber* base,
_activeModel->AddText([string UTF8String]);
if (_activeModel->composing()) {
_activeModel->CommitComposing();
_activeModel->EndComposing();
}
[self updateEditState];
}