tomzaku / react-native-shimmer-placeholder

Placeholder/ Skeleton of React Native
MIT License
1.06k stars 93 forks source link

Image is not hidden when visible={false} #50

Closed M-i-k-e-l closed 4 years ago

M-i-k-e-l commented 4 years ago

Steps to reproduce:

  1. react-native init shimmer
  2. npm i react-native-linear-gradient --save
  3. npm i react-native-shimmer-placeholder --save
  4. pod install

Change App.js to this.

The bug: as seen in the attached video, the images are shown while the placeholder is shown. Expected: the images will be shown only when visible={true}

Image shown video.zip

tomzaku commented 4 years ago

Can you test again? It has been fixed