mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a6395d5406
Summary: Adds a new `unstable_pressDelay` prop to `Pressable`. This is intended to be used to experiment with adding a delay for when `onPressIn` fires. The intended purpose of this delay is to prevent `Pressable` elements from activating (i.e. `onPressIn` firing) if a touch gesture is immediately canceled by an enclosing native component (e.g. `ScrollView`). Changelog: [General][Added] - Added `unstable_pressDelay` prop to `Pressable`. Reviewed By: lunaleaps Differential Revision: D23604581 fbshipit-source-id: 5ce5d15a996c8a7aabaa465aa02fa8bad1044227