-
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
BlurType affects entire screen, even outside of BlurView. blurType="light" makes entire screen lighter etc #414
Comments
I have the same problem. |
I found a solution. Found it through youtube video implementing it. The problem is fixed by applying the following: overlayColor="" as a property to the <Blur component. |
Thank you @C-odes! overlayColor="" worked! |
It worked for me too. Thank you so much |
I am debugging a highly frustrating Android-only issue around this, but the Any idea what the source issue is? |
No idea man. Post some code maybe you're missing something? |
@C-odes Yeah apologies for the very light context on my original comment, but would take too much work to extract the relevant code parts from across our app. We've got a semi-complex dynamic navigation setup and app structure so it's not easy to debug or grab cleanly reproducible code samples. For now we used This issue still seems valid though — setitng |
Blur view's wrapper view should have " overflow:'hidden' " in style. It should fix this problem. In your case : You should add overflow:'hidden' to MiddleContainer style. |
In my case add |
Thank you so much 👍 |
None of these solutions worked for me. I ended up using |
In my case overlayColor="transparent" is worked fine. |
Hi, I have the same problem, visually it can be solved as above, i.e. add overflow hidden, but I noticed that it also affects other elements. if, for example, I have blur in the navbar component and if, even outside the navbar, there are buttons that have the ripple effect (from Pressable or from libraries such as rn paper), the button itself responds to, for example, onPresss, but the ripple effect does not work. Can anyone know how to fix this? |
Worked |
very helpfull, thanks @C-odes |
I have the same issue as @kasper-pawlowski with button ripples no longer rendering. See #608 |
Hi!
So, I have a background image, and then a BurView in the middle of the screen with another white colored View inside.
I expect only the things inside or after BlurView to be affected by BlurView.
While blur is contained inside, the blurType="light" or "dark" change the lighting of the entire screen even outside of the blurView!
The background image that wraps the entire content (the outer ) has a dark nightsky color
but when I add the blurview with the blurType: "lighten" property, the entire thing becomes lighter. The outder imageBackground gets completely ruined! same with blurType="darken"
Should it not only affect where the BlurView actually is???
I know it doesnt cover the entire screen! Please help
the white View on the bottom part of the screenshot is the view within the blurview:
Look at the colors before blurView is added:
Then look after I add with blurType="light" :
The text was updated successfully, but these errors were encountered: