alexZajac / react-native-skeleton-content-nonexpo

A customizable skeleton-like loading placeholder for react native projects not using expo.
MIT License
307 stars 61 forks source link

Animation is not working #42

Closed youngseo-im closed 2 years ago

youngseo-im commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

Expected behavior The current loading is true and the animation is not working.

Screenshots If applicable, add screenshots to help explain your problem.

https://user-images.githubusercontent.com/75972718/147809653-939ca8a1-7842-497d-858b-c9eb79abae9e.mov

Smartphone (please complete the following information):

youngseo-im commented 2 years ago
스크린샷 2022-01-01 오후 11 16 49
droplessjake commented 2 years ago

Bump, I'm using react-native-reanimated 2.2.3 and not seeing any animation.

onebigdoor commented 2 years ago

i did not see animation until setting all three animationType boneColor and highlightColor which i had assumed would have had defaults, but i guess not.

alexZajac commented 2 years ago

Hi! They are default for these 3: https://github.com/alexZajac/react-native-skeleton-content-nonexpo/blob/master/src/SkeletonContent.tsx#L59-L63

On the issue, it might be that the highlight and bone color are too close to each other to see the pulse difference. If not, I would advise to check the other props and examples.

Closing for now as there was no updates for several months, feel free to reopen if needed.