react-native-blur icon indicating copy to clipboard operation
react-native-blur copied to clipboard

react-native-blur is not blurring the empty view

Open ajaykumar97 opened this issue 7 years ago • 3 comments

react-native-blur is not blurring the empty view. It only blurs the view only if it has some content inside it. Actually I want to blur the background of the side panel such that the content underneath the side panel looks blurred. Something like: side

ajaykumar97 avatar Jun 06 '18 04:06 ajaykumar97

@ajaykumar97 I don't think so. In my current app blur-view works as expected in ios (not for android). The overlay-view has opacity .2 and is empty.

In jsx:

<View ref={setViewRef} style={styles.overlay}/>

With styles:

...

overlay: {
      ...StyleSheet.absoluteFillObject,
      zIndex: 999,
      backgroundColor: '#0C233F',
      opacity: .2,
},
loader: {
    position: 'absolute',
    zIndex: 1001,
},

...

simulator screen shot - iphone 6 - 2018-07-05 at 11 15 33

seclace avatar Jul 05 '18 04:07 seclace

Yes that's right. It works perfectly fine for iOS. But does not work for android. Sorry! I forgot to include that issue is coming in Android application. If anyone get the solution, please help!!!

ajaykumar97 avatar Jul 05 '18 13:07 ajaykumar97

I think this library fails to support this feature. I've also tried to achieve this look.

hirejohnsalcedo avatar Aug 29 '19 14:08 hirejohnsalcedo