dvtng / react-loading-skeleton

Create skeleton screens that automatically adapt to your app!
MIT License
3.96k stars 159 forks source link

i have npm v18 and skeleton loading animation is not working with me please any help #198

Closed SaidosHits-zz closed 1 year ago

SaidosHits-zz commented 1 year ago

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

To Reproduce Steps to reproduce the behavior.

Actual Behavior What actually happened.

Expected Behavior A clear and concise description of what you expected to happen.

Versions

Additional context Add any other context about the problem here.

mrisher commented 1 year ago

Similar: I am seeing white bars in the correct color but no animation is happening. The CSS properties seem correct and the CSS file is loading...

image
mrisher commented 1 year ago

The problem for me was, the colors #ebebeb and #f5f5f5 are too close to see the animation. Changing to a more distinctive color like --base-color: #919191 made the effect noticeable and works for me

image

I wonder if these colors have drifted? 0xEB and 0xF5 are very close together

srmagura commented 1 year ago

Thanks @mrisher.

Closing the issue since the original post does not have any repro steps / .etc.

mrisher commented 1 year ago

agreed. Thank you!