Fix missing space when using iOS's autocomplete
Summary: Changelog: [internal] Using keyboard's autocomplete did not insert space at the end of the word. Reviewed By: fkgozali Differential Revision: D29085654 fbshipit-source-id: 35fee726ea7d2030fdfa64300e045a303ea98ce9
This commit is contained in:
Родитель
a5b92f34c4
Коммит
592e92fc90
|
@ -366,7 +366,7 @@ using namespace facebook::react;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_ignoreNextTextInputCall) {
|
if (_ignoreNextTextInputCall && [_lastStringStateWasUpdatedWith isEqual:_backedTextInputView.attributedText]) {
|
||||||
_ignoreNextTextInputCall = NO;
|
_ignoreNextTextInputCall = NO;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче