Skip to content

Commit 2ccbd6a

Browse files
committed
clean up ios only annotations
1 parent 2574f0c commit 2ccbd6a

4 files changed

Lines changed: 2 additions & 6 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ type PressableBaseProps = Readonly<{
122122
/**
123123
* When true, prevents native ancestor views (UIKit responder chain) from
124124
* receiving touch events when this Pressable handles a press.
125-
*
126-
* @platform ios
127125
*/
128126
blockNativeResponder?: ?boolean,
129127

packages/react-native/Libraries/Components/View/ViewPropTypes.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,8 +508,6 @@ type ViewBaseProps = Readonly<{
508508
* delivers touches independently to every view that received touchesBegan:,
509509
* so parent views fire touchesEnded: even when a child Pressable handles the
510510
* press.
511-
*
512-
* @platform ios
513511
*/
514512
blockNativeResponder?: ?boolean,
515513

packages/react-native/Libraries/Pressability/Pressability.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export type PressabilityConfig = Readonly<{
132132

133133
/**
134134
* When true, prevents native ancestor views (UIKit responder chain) from
135-
* receiving touch events when this Pressable handles a press. iOS only.
135+
* receiving touch events when this Pressable handles a press.
136136
*/
137137
blockNativeResponder?: ?boolean,
138138
}>;

packages/react-native/ReactCommon/react/renderer/components/view/BaseViewProps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class BaseViewProps : public YogaStylableProps, public AccessibilityProps {
108108
bool collapsableChildren{true};
109109

110110
bool removeClippedSubviews{false};
111-
bool blockNativeResponder{false}; // iOS only
111+
bool blockNativeResponder{false};
112112

113113
#pragma mark - Convenience Methods
114114

0 commit comments

Comments
 (0)