Animated svg inside suspense fallback
Unanswered
PepeW posted this in #help-forum
PepeWOP
I'm using a loader component inside a fallback of a suspense component:
Inside the
https://icon-sets.iconify.design/line-md/compass-loop/
The problem is that the svg is not displayed.
I've tried with the same icon but not animated and everything is working fine.
I've read that the browser may be blocking the svg animations while it's loading but I'm not sure about that.
<Suspense fallback={<Loader />}>
<SomeComponent />
</Suspense>Inside the
Loader I'm using an animated svg:https://icon-sets.iconify.design/line-md/compass-loop/
The problem is that the svg is not displayed.
I've tried with the same icon but not animated and everything is working fine.
I've read that the browser may be blocking the svg animations while it's loading but I'm not sure about that.