GriffinJohnston / ldrs

Modern, tree-shakeable loader & spinner web components. Made with CSS, HTML and SVG. https://uiball.com/ldrs
MIT License
1.75k stars 54 forks source link

Trying to use a loader from here in SolidJS, it does not animate #10

Closed nikitavoloboev closed 1 year ago

nikitavoloboev commented 1 year ago

Code here: https://github.com/nikitavoloboev/kuskus/blob/main/src/components/Loader.tsx

Trying to make this loader work: https://github.com/GriffinJohnston/uiball-loaders/blob/main/src/components/LeapFrog.js

I copied everything 1 to 1, just adapted to Solid.

image

However it renders as 3 black dots, no animation, I don't know why, perhaps you know?

Thank you.

nikitavoloboev commented 1 year ago

Ok adding !important to end of all animation: fixed it

curious why it worked in react without it