Skip to content

Commit 3c6e689

Browse files
committed
react-native: BottomSheetDialog – ensure internal gesture handler and enabled cannot be overridden by consumer by moving panGestureHandlerProps spread before internal props
1 parent 1090e49 commit 3c6e689

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/design-system-react-native/src/components/BottomSheetDialog/BottomSheetDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,9 @@ const BottomSheetDialog = forwardRef<
282282
{...props}
283283
>
284284
<PanGestureHandler
285+
{...panGestureHandlerProps}
285286
enabled={isInteractable}
286287
onGestureEvent={gestureHandler}
287-
{...panGestureHandlerProps}
288288
>
289289
<Animated.View
290290
onLayout={updateSheetHeight}

0 commit comments

Comments
 (0)