mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fd1e82a10f
Summary: If currently focused on a TextInput, clicking an item in a ScrollView takes two clicks. This is because of `keyboardShouldPersistTaps`, which will fire despite a lack of keyboard events on Android due to special-casing. This behavior is jarring in scenarios like VR where the soft keyboard is detached from the application. This change avoids eating taps, in this case, where a soft keyboard is open but not inset. Reviewed By: genkikondo Differential Revision: D38529237 fbshipit-source-id: a10c5dbf04e6288e0e9e0c805215054bc883339f