Skip to content

Commit ee95538

Browse files
committed
Also handle the props
1 parent 9d60d9f commit ee95538

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/react-native-gesture-handler/src/v3/detectors/VirtualDetector/InterceptingGestureDetector.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ interface VirtualChildrenForNative {
3232
export function InterceptingGestureDetector<THandlerData, TConfig>({
3333
gesture,
3434
children,
35+
touchAction,
36+
userSelect,
37+
enableContextMenu,
3538
}: InterceptingGestureDetectorProps<THandlerData, TConfig>) {
3639
useEnsureGestureHandlerRootView();
3740

@@ -224,6 +227,9 @@ export function InterceptingGestureDetector<THandlerData, TConfig>({
224227
return (
225228
<InterceptingDetectorContext value={contextValue}>
226229
<NativeDetectorComponent
230+
touchAction={touchAction}
231+
userSelect={userSelect}
232+
enableContextMenu={enableContextMenu}
227233
pointerEvents={'box-none'}
228234
// @ts-ignore This is a type mismatch between RNGH types and RN Codegen types
229235
onGestureHandlerStateChange={jsEventHandler}

0 commit comments

Comments
 (0)