-
Notifications
You must be signed in to change notification settings - Fork 557
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
Any View element with background color after Blur View also gets a blur effect - Android #394
Comments
Hi 👋 |
Hey, found a workaround for this. A bit surprised that it is not in the documentation, but quite possible than I'm missing somethings. Might not work for every use case, but pass the the rest of the content (The content that you don't want blurred) as children to the BlurView Basically change this:
To this:
My own use case doesn't match this exactly, so if it doesn't work, let me know and I can check if I have some other differences that might affect this as well |
@sendy34 have you tried this?
|
+1, This issue seems to still exist with the sample code, related issue |
@sendy34, did you manage to get around this? |
I think wrapping view inside BlurredView works :) |
This issue is not fixed |
I fixed this by rapping the blurView component with another view like so; `
Here's the container style;
}} |
Bug report
Any View element with background color after Blur View also gets a blur effect - on Android.
Summary
When a View element is used after BlurView, and if the view has background color, then that view also gets blurry edges.
Environment info
Platform: Android Simulator - Pixel 2 - API 29
react-native info
output:Library version: 3.6.0
Reproducible sample code
The text was updated successfully, but these errors were encountered: