mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
End composing when inserting text (flutter/engine#24866)
https://github.com/flutter/flutter/issues/77544
This commit is contained in:
parent
e585aaf2b8
commit
fad37e65ca
@ -282,6 +282,7 @@ static flutter::TextRange RangeFromBaseExtent(NSNumber* base,
|
||||
_activeModel->AddText([string UTF8String]);
|
||||
if (_activeModel->composing()) {
|
||||
_activeModel->CommitComposing();
|
||||
_activeModel->EndComposing();
|
||||
}
|
||||
[self updateEditState];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user