react-native-skeleton-placeholder icon indicating copy to clipboard operation
react-native-skeleton-placeholder copied to clipboard

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

Open AsifNoushad03 opened this issue 1 year ago • 7 comments

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 avatar Sep 04 '24 11:09 AsifNoushad03

Background Color Issue

issue

AsifNoushad03 avatar Sep 04 '24 12:09 AsifNoushad03

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.

  • react-native-skeleton-placeholder v. 5.2.4
  • react-native-linear-gradientn v. 2.8.3
  • @react-native-masked-view/masked-view v. 0.3.1

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

Can somebody please take a look at this? Thanks!

PunainenAurinko avatar Sep 05 '24 19:09 PunainenAurinko

This one fixed the issue for me.

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

paveltar avatar Sep 09 '24 07:09 paveltar

This one fixed the issue for me.

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

This helped resolve the issue for me, thanks!

PunainenAurinko avatar Sep 10 '24 21:09 PunainenAurinko

Hi , updating @react-native-masked-view/masked-view library from "0.2.8" to "^0.3.2" fixed my issue!

SevdaCimen avatar Feb 27 '25 10:02 SevdaCimen

Thanks @SevdaCimen this fixed the issue for me also.

trooperandz avatar May 08 '25 20:05 trooperandz

Hi , updating @react-native-masked-view/masked-view library from "0.2.8" to "^0.3.2" fixed my issue!

Thank You this saved a lot of time.

Mehul175 avatar May 09 '25 13:05 Mehul175