Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparent background color #323

Open
minh-dai opened this issue Dec 4, 2023 · 4 comments
Open

Transparent background color #323

minh-dai opened this issue Dec 4, 2023 · 4 comments

Comments

@minh-dai
Copy link

minh-dai commented Dec 4, 2023

Screenshot 2023-12-04 at 16 48 50

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?

@minh-dai
Copy link
Author

minh-dai commented Dec 4, 2023

Screenshot 2023-12-04 at 16 52 24
it works in Ios, but not in an Android Platform

@noumantahir
Copy link

noumantahir commented Dec 13, 2023

@ammarahm-ed
facing somewhat similar issue.... in my case however, the overlay/backdrop did not cover the whole screen background.

any ideas...?

Screenshot 2023-12-13 at 18 36 36 Screenshot 2023-12-13 at 18 42 22

@sabuhiteymurov
Copy link

sabuhiteymurov commented Dec 25, 2023

I'm encountering the same issue on Android

@BachP85
Copy link

BachP85 commented Mar 8, 2024

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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants