Polaris Spinner component not spinning

Solved
kconv
Tourist
3 1 0

Hello, I'm using a rails app with a React front end deployed with webpacker (used that project as a starter https://github.com/mrk-9/Shopify_NextGen_AuthApp). Every component seems to behave perfectly but the spinner.

When I set the loading state to true, it does not spin and stays right there static! Same for the SettingsToggle action when I set the loading state to true. Any ideas folks? No errors show up in the console too.

 

code showing the loading paramcode showing the loading paramspinner not spinningspinner not spinning

 

0 Likes
kconv
Tourist
3 1 0

This is an accepted solution.

The CSS min loaded from the CDN wasn't doing it. I had to use the CSS file from the node_modules and import it into rails, via webpacker. @Shopify/polaris/dist/styles.css.

0 Likes