react-native-actions-sheet
react-native-actions-sheet copied to clipboard
Transparent background color
i saw the library has containerStyle and i updated the backgroundColor is Transparent, but like an image, it has a white color in the background, What do I need to update?
it works in Ios, but not in an Android Platform
@ammarahm-ed facing somewhat similar issue.... in my case however, the overlay/backdrop did not cover the whole screen background.
any ideas...?
I'm encountering the same issue on Android
You need to add "elevation={0}", it works for me:
<ActionSheet drawUnderStatusBar={true} defaultOverlayOpacity={0.3} useBottomSafeAreaPadding={Platform.OS === 'ios'} gestureEnabled={true} indicatorStyle={styles.indicatorStyle} containerStyle={styles.sheetContainer} elevation={0}> {children} </ActionSheet>
@BachP85 comment worked Saved me
elevation={0}