mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
370bbd705b
Summary: On some platforms, when two inputs are in a scrollview, trying to switch focus to another textinput doesn't work and requires two taps. This is because from `_handleTouchEnd` we blur the currently focused input, even if that input had only just become focused from the same touch event. Instead, only blur when the event did not target the current textinput. Changelog: [Android][Fixed] TextInputs may not get focused when switching inputs in a ScrollView Reviewed By: jehartzog Differential Revision: D40159333 fbshipit-source-id: 388f85dff5ac8f24d7e2590e887635391c52d72f