-
Notifications
You must be signed in to change notification settings - Fork 565
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
Shadow and borderRadius on BlurView #142
Comments
Seems it requires an additional work in a way how styles should be applied to the UIVisualEffectsView. I'll try to implement it when I have a bit more time. Otherwise, if you want it faster, I can tell you the desired way to go and kindly ask you to contribute to the project. Which one would you prefer? |
@Kureev I would be happy to try help with implementing the shadows prop. However, haven't done it before so would appreciate any guidance. |
@dvassilev wouldn't it work to just wrap the BlurView in another |
@jaredly Just tried that: it removes the blur effect from the BlurView. |
@jaredly sorry for not getting back to you sooner but as @williambout said it removes the blur effect if I try to do that. |
You can try to add a shadow as a child view of the |
Still can't add a border-radius. Setting a border-radius to the parent view only helps for iOS, not for Android. Any suggestions? |
borderRadius works on ios but not on android. any workaround on this? |
Only workaround for
|
I was using #513 implementation for transparent view and was able to fix those weird shadows in the corners by using the default background color for the blur view and my color with opacity for the content view.: |
@terrysahaidak I too had some issues with some weird dark borders showing when I added border-radius to the container of my Blurview
|
Is it possible to use props like this for the shadow? When I use it the blur effect disappears.
In addition, it appears that using border radius for an individual corner doesn't work.
The text was updated successfully, but these errors were encountered: