Summary | This theme component convert the loading slider to spinner. | |
Preview | Theme Creator | |
Repository | GitHub - VaperinaDEV/loading-slider-to-spinner: This theme component convert the loading slider to spinner. | |
Install Guide | How to install a theme or theme component | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Hello
A few member mentioned they would want keep the spinner loader. This theme component convert the loading slider to spinner. As this is mostly a visual thing, I restyled the slider to be a spinner with CSS I hid the slider and add the spinner to #main-outlet-wrapper
before pseudo and this way it won’t conflict with plugin outlets. So it keeps the slider functionality and hopefully it stop bugs which appears on spinner loader usage.
I hid the #main-outlet
, user menu and modal while loading the page as it was on spinner loader.
I use modifyClass
to change the loading states. Because while the page loading, the loading slider sometimes get back the ready
status which makes the loading stops and starts again. The state change caused flickering while loading the page.