katanyaJATI/react-native-image-blur-loading

Indicator is still showing when withIndicator is not passed as a prop

rahmanharoon opened this issue · 1 comments

I don't want to show activity indicator so I removed withIndicator props and still its showing Activity indicator in the bottom. In documentation its given as not required

Here is the code I tried first

   <ImageBlurLoading
        thumbnailSource={{uri: sliderImage}}
        source={{uri: sliderImage}}
        style={[sliderStyle.imageHeight]}
     />

Here is the result of the above result
Simulator Screen Shot - iPhone SE (2nd generation) - 2021-08-10 at 13 08 51

After that I passed withIndicator={false} and its working fine

<ImageBlurLoading
          withIndicator={false}
          thumbnailSource={{uri: sliderImage}}
          source={{uri: sliderImage}}
          style={[sliderStyle.imageHeight]}
/>

This happens because the default value of withIndicator is true

{ onLoad, withIndicator=true, thumbnailSource, source, style={}, ...props }: