Replies: 1 comment 11 replies
|
Interesting, I'll take a look at that. I'm not sure if it's necessarily a problem, but I think I can add a parameter to the component to handle it according to the developer's preference. Is this issue happening on iOS or Android? |
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I just noticed that react-native-blur-view handles blurring a little differently than @react-native-community/blur. Specifically it doesn't seem to constrain the blur to what's actually behind it, but it will also include what's in front of it. Resulting in undesired halos.
Demonstration:
@danielsaraldi/react-native-blur-view:

@react-native-community/blur:

As you can tell from the first picture, there's white ghosting around the text, where there's none in the second picture.
Because I only want to blur the background image, rather than the entire view, I have my code set up as follows (irrelevant bits stripped):
All reactions