Files
Taylor123andLorenzo Sciandra 274f5b879f default hitSlop values to 0 (#22281)
Summary:
Experienced a `TouchableOpacity` releasing the `PanResponder` without invoking `onPress` due to a missing a direction key in the `hitSlop` prop; The missing key caused the corresponding pressExpand to become NaN which causes `isTouchWithinActive` to become falsey, when it should be truthy.

If defaulting to 0 is undesired behavior, I'm happy to take a different approach.
Pull Request resolved: https://github.com/facebook/react-native/pull/22281

Differential Revision: D13374335

Pulled By: cpojer

fbshipit-source-id: f9d28e51b9d9c45aed42bea2df3d844a799fa827
2018-12-12 16:59:42 +00:00
..
2018-05-10 19:10:38 -07:00
2018-05-29 17:30:16 -07:00
2018-05-10 19:10:38 -07:00
2018-05-10 19:10:38 -07:00