Skip to content

Commit 8e58f68

Browse files
vincentriemerfacebook-github-bot
authored andcommitted
Fix pointer-events crash in catalyst-ios when running RNTester in legacy mode
Summary: Changelog: [Internal] Fix pointer-events setter crash in Paper Reviewed By: appden Differential Revision: D35617077 fbshipit-source-id: 975840a2474235a027279035ac327e9eb88d3f08
1 parent 033ad83 commit 8e58f68

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

React/Views/RCTView.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,14 @@ extern const UIAccessibilityTraits SwitchAccessibilityTrait;
103103
*/
104104
@property (nonatomic, assign) UIEdgeInsets hitTestEdgeInsets;
105105

106+
/**
107+
* (Experimental and unused for Paper) Pointer event handlers.
108+
*/
109+
@property (nonatomic, assign) RCTBubblingEventBlock onPointerCancel;
110+
@property (nonatomic, assign) RCTBubblingEventBlock onPointerDown;
111+
@property (nonatomic, assign) RCTBubblingEventBlock onPointerMove2;
112+
@property (nonatomic, assign) RCTBubblingEventBlock onPointerUp;
113+
@property (nonatomic, assign) RCTCapturingEventBlock onPointerEnter2;
114+
@property (nonatomic, assign) RCTCapturingEventBlock onPointerLeave2;
115+
106116
@end

0 commit comments

Comments
 (0)