nuxt / nuxt

The Intuitive Vue Framework.
https://nuxt.com
MIT License
54.58k stars 4.99k forks source link

Since 3.10.0, calling `useLoadingIndicator().finish()` during server-side rendering causes `cancelAnimationFrame is not defined` #25560

Closed smastrom closed 8 months ago

smastrom commented 8 months ago

Environment


Reproduction

https://stackblitz.com/edit/nuxt-starter-b7jqpu?file=pages%2Findex.vue

Describe the bug

Before 3.10.0 I could safely call loader.finish() during server-side rendering without getting any errors. Since the last release it causes the error cancelAnimationFrame is not defined .

Additional context

No response

Logs

No response

stackblitz[bot] commented 8 months ago

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.