Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AsifNoushad03 opened this issue Sep 4, 2024 · 4 comments
Open

Comments

@AsifNoushad03
Copy link

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
Copy link
Author

AsifNoushad03 commented Sep 4, 2024

Background Color Issue

issue

@PunainenAurinko
Copy link

PunainenAurinko commented Sep 5, 2024

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!

@paveltar
Copy link

paveltar commented Sep 9, 2024

This one fixed the issue for me.

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

@PunainenAurinko
Copy link

PunainenAurinko commented Sep 10, 2024

This one fixed the issue for me.

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

This helped resolve the issue for me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants