File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/react-native-gesture-handler/src Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ export const ActionType = {
3
3
NATIVE_ANIMATED_EVENT : 2 ,
4
4
JS_FUNCTION_OLD_API : 3 ,
5
5
JS_FUNCTION_NEW_API : 4 ,
6
+ NATIVE_DETECTOR : 5 ,
6
7
} as const ;
7
8
8
9
// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; it can be used as a type and as a value
Original file line number Diff line number Diff line change @@ -51,11 +51,12 @@ const GestureHandlerDetector = (props: GestureHandlerDetectorProps) => {
51
51
RNGestureHandlerModuleWeb . attachGestureHandler (
52
52
tag ,
53
53
viewRef . current ,
54
- ActionType . NATIVE_ANIMATED_EVENT , // TODO: find proper ActionType
54
+ ActionType . NATIVE_DETECTOR ,
55
55
propsRef
56
56
) ;
57
57
} ) ;
58
58
} ;
59
+
59
60
return < View ref = { viewRef } > { children } </ View > ;
60
61
} ;
61
62
You can’t perform that action at this time.
0 commit comments