Kureev / react-native-blur

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

On Android devices, returning from another page results in a white screen #607

Open Zhouwenli opened 8 months ago

Zhouwenli commented 8 months ago

import { BlurView } from '@react-native-community/blur';

<BlurView blurType="light" blurAmount={ data.activityRefer && data.activityRefer.ads.length > 0 ? 15 : 80 }

会出现白屏的现象,从别的页面返回

remijean commented 8 months ago

Same problem with:

<View style={[StyleSheet.absoluteFill, {overflow: 'hidden'}]}>
  <BlurView
    style={StyleSheet.absoluteFill}
    blurType="light"
    blurAmount={40}
    reducedTransparencyFallbackColor="white"
  />
</View>
remijean commented 8 months ago

Ok I found tmp fix: https://github.com/Kureev/react-native-blur/issues/595#issuecomment-1733742330