Skip to content

Commit

Permalink
support ignore reduce motion for bottom sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
sieu-db committed Dec 27, 2024
1 parent fbc7481 commit c98e1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/BottomSheet/BottomSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const BottomSheet = React.forwardRef<BottomSheetComponent, BottomSheetProps>(
: onSettle?.(mappedSnapPoints.length - index - 1)
}
overrideReduceMotion={
ignoreReduceMotion ? ReduceMotion.System : undefined
ignoreReduceMotion ? ReduceMotion.Never : ReduceMotion.System
}
>
<BottomSheetScrollView
Expand Down

0 comments on commit c98e1bf

Please sign in to comment.