Kureev / react-native-blur

React Native Blur component
MIT License
3.76k stars 556 forks source link

Add support for Clear/Transparent Blur background #602

Open henriquecfreitas opened 10 months ago

henriquecfreitas commented 10 months ago

The blurType options supported for iOS does not provide any option for handling a clear background to the BlurView component.

That would be useful in many cases, like described on issues #465 , #474 , #407 and others.

The app I'm currently working on is using the BlurView component for the Header background in some specific pages, where a FlatList component should be able to slightly show the cards content underneath the page Header when scrolling. The problem is that the color displayed on the Header when there is no content behind it (eg: list scroll is on top) is not matching the same color of the Header displayed on pages where it does not use the BlurView. Of course they doesn't need to perfectly match the same outputed RGB, since one of them has a Blur effect applied, but it would be great if they could have at least a similiar feel.

Example: image

This issue would problably be fixed with the solution proposed by @KirillGudkov on the PR #513

shav95 commented 10 months ago

I agree with @henriquecfreitas , I also have a project were i need to put a clear blur view , but I cannot . on android it works but on ios there is no way. Dear team please if it is possible find a solution for this issue.

haroutunyan commented 10 months ago

Same problem. Please help.

ruabelyan commented 10 months ago

Can you give a solution for this problem?

MeekzIT commented 10 months ago

please give a solution for this probleme

shav95 commented 10 months ago

@Kureev

ugar0ff commented 7 months ago

Same problem

w3company-leo commented 7 months ago

same

NorseGaud commented 6 months ago

Bump

GrishovAleksei commented 1 month ago

up