chramos / react-native-skeleton-placeholder

SkeletonPlaceholder is a React Native library to easily create an amazing loading effect.
MIT License
674 stars 119 forks source link

Background Color Always Black in react-native-skeleton-placeholder #133

Open AsifNoushad03 opened 1 week ago

AsifNoushad03 commented 1 week ago

I'm encountering an issue with the react-native-skeleton-placeholder library. Despite installing the required dependencies (@react-native-masked-view/masked-view version ^0.3.1 and react-native-linear-gradient version ^2.8.3), the background color of the placeholder remains black and cannot be changed.

Issue: The background color of the placeholder is black and cannot be modified. The items within the placeholder are displaying correctly.

I have tried various solutions and configurations, but none have resolved the problem. Any guidance or fixes would be greatly appreciated.

AsifNoushad03 commented 1 week ago

Background Color Issue

issue

PunainenAurinko commented 1 week ago

I am having the same issue on Android 14 and Android 15 recently. The issue is occurring on React Native 0.75.2. Not occurring on RN 0.74.5.

All the library versions have not changed, and they are pretty old at that.

This works fine for me on iOS 17.6 or iOS 18 beta.

Can somebody please take a look at this? Thanks!

paveltar commented 6 days ago

This one fixed the issue for me.

https://github.com/react-native-masked-view/masked-view/issues/226#issuecomment-2298921479

PunainenAurinko commented 5 days ago

This one fixed the issue for me.

react-native-masked-view/masked-view#226 (comment)

This helped resolve the issue for me, thanks!