Resign text input as first responder in prepareForRecycle
Summary: Changelog: [internal] To prevent wrong TextInput becoming first responder, force a resign when preparing for a reuse. Reviewed By: JoshuaGross Differential Revision: D29085923 fbshipit-source-id: 246cdf0628f914c3928cc9c7499d029b77684f2c
This commit is contained in:
Родитель
ed76d4d8db
Коммит
a5b92f34c4
|
@ -258,6 +258,7 @@ using namespace facebook::react;
|
|||
_lastStringStateWasUpdatedWith = nil;
|
||||
_ignoreNextTextInputCall = NO;
|
||||
_didMoveToWindow = NO;
|
||||
[_backedTextInputView resignFirstResponder];
|
||||
}
|
||||
|
||||
#pragma mark - RCTBackedTextInputDelegate
|
||||
|
|
Загрузка…
Ссылка в новой задаче