kit icon indicating copy to clipboard operation
kit copied to clipboard

Weird bug when using transitions and a $navigating spinner together

Open Nightloewe opened this issue 1 year ago • 0 comments

Describe the bug

When switching pages, there is a bug happening when the layout contains some code to show a loading spinner on $navigating != null and the page we are navigating from contains a transition. The transition then happens, but stops and the DOM is not updated to remove the old page and render the new page.

Reproduction

https://github.com/Nightloewe/svelteKitBugTransition

Logs

src\routes\+layout.svelte
`<slot />` missing — inner content will not be rendered

System Info

Does not work

Severity

annoyance

Additional Information

No response

Nightloewe avatar Aug 09 '24 08:08 Nightloewe