Skip to content

Commit 1c1602b

Browse files
committed
improve comment
1 parent f38462e commit 1c1602b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • packages/react-native/Libraries/Components/Pressable

packages/react-native/Libraries/Components/Pressable/Pressable.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,10 @@ type PressableBaseProps = Readonly<{
120120
onPressOut?: ?(event: GestureResponderEvent) => unknown,
121121

122122
/**
123-
* When true, prevents native ancestor views (UIKit responder chain) from
124-
* receiving touch events when this Pressable handles a press.
123+
* When true, prevents native ancestor views from receiving any touch events
124+
* that begin on this Pressable, including pan gestures. Suppression is
125+
* unconditional (not gated on JS responder state) to avoid timing races on
126+
* fast taps. Does not affect UIGestureRecognizer-based interactions.
125127
*/
126128
blockNativeResponder?: ?boolean,
127129

0 commit comments

Comments
 (0)