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:
Samuel Susla
2021-06-13 04:36:32 -07:00
committed by Facebook GitHub Bot
parent a5b92f34c4
commit 592e92fc90
@@ -366,7 +366,7 @@ using namespace facebook::react;
return;
}
if (_ignoreNextTextInputCall) {
if (_ignoreNextTextInputCall && [_lastStringStateWasUpdatedWith isEqual:_backedTextInputView.attributedText]) {
_ignoreNextTextInputCall = NO;
return;
}