Open googl3r opened 7 years ago
Not sure if I see an assignment of viewRef
here. You should store a ref the view you want to blur in this.state.viewRef
in order this code to work:
<View ref={ref => this.setState({ viewRef: ref })} style={MainStyle.footer}>
//...
</View>
@googl3r did found a solution?
@cinder92 no always have the same problem, @Kureev solution doesn't work
you are right its work on ios but no on android, this need to be fixed... somehow...
Did you try https://github.com/react-native-community/react-native-blur/blob/master/examples/Basic/index.android.js ? Does it work for you?
It works for image but not for a view, it's just a semi-transparent effect not blur effect.
@cinder92 Were you able to test the blur effect on a physical iOS device? I've found it work on the simulator, but the blur appears as an opaque black box on the device build.
until now the blur effect doesn't work on a view it works just on image
on ios it works perfect on View as well but not on Android
@googl3r Wouldn't that be mentioned in the limitations if that were the case?
Has anyone been able to blur View
s on Android?
hello from 2021, still working only with Image component on android?
Hi, I am trying to blur a view, it works on iOS but on android it doesn't work, is it possible to blur any view ? here is my code
`
`