From 3da1a2e6f33fb886e53606d4bbcd06938d839008 Mon Sep 17 00:00:00 2001 From: gorhom Date: Sat, 20 Nov 2021 21:09:57 +0000 Subject: [PATCH] fix: prevent hiding bottom sheet container on platforms other than Android (#719) --- src/components/bottomSheet/BottomSheet.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/bottomSheet/BottomSheet.tsx b/src/components/bottomSheet/BottomSheet.tsx index 36060012d..0f5ac23fd 100644 --- a/src/components/bottomSheet/BottomSheet.tsx +++ b/src/components/bottomSheet/BottomSheet.tsx @@ -1149,7 +1149,8 @@ const BottomSheetComponent = forwardRef( //#region styles const containerAnimatedStyle = useAnimatedStyle( () => ({ - opacity: animatedIndex.value === -1 ? 0 : 1, + opacity: + Platform.OS === 'android' && animatedIndex.value === -1 ? 0 : 1, transform: [ { translateY: animatedPosition.value,