Skip to content

Commit

Permalink
fix: prevent hiding bottom sheet container on platforms other than An…
Browse files Browse the repository at this point in the history
…droid (#719)
  • Loading branch information
gorhom committed Nov 20, 2021
1 parent 9ace1c6 commit 3da1a2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/bottomSheet/BottomSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,8 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
//#region styles
const containerAnimatedStyle = useAnimatedStyle(
() => ({
opacity: animatedIndex.value === -1 ? 0 : 1,
opacity:
Platform.OS === 'android' && animatedIndex.value === -1 ? 0 : 1,
transform: [
{
translateY: animatedPosition.value,
Expand Down

0 comments on commit 3da1a2e

Please sign in to comment.