Skip to content

Commit 979ba7c

Browse files
committed
fix(#2177): set absolute fill to backdrop default style
1 parent 4ed9f3c commit 979ba7c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ const BottomSheetBackdropComponent = ({
104104
[0, 0, opacity],
105105
Extrapolation.CLAMP
106106
),
107-
flex: 1,
108107
}),
109108
[animatedIndex, appearsOnIndex, disappearsOnIndex, opacity]
110109
);

src/components/bottomSheetBackdrop/styles.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { StyleSheet } from 'react-native';
22

33
export const styles = StyleSheet.create({
44
container: {
5+
...StyleSheet.absoluteFillObject,
56
backgroundColor: 'black',
67
},
78
});

0 commit comments

Comments
 (0)