You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered this error aswell, seems that when the page destroy functionality runs, the transition trigger gets stuck on a seemingly empty run loop until it gets cancelled and the page is never destroyed.
I was having this same issue, and I've found that it's caused by an out transition and a writable that updates as soon as the page changes. That's what the $page in your repo was doing.
For example, here's a StackBlitz link that instead uses a writable that updates every frame. The same issue occurs.
Describe the bug
As-per title. When there's an element with non-local transition, various components NEVER unmount.
Videos
https://www.loom.com/share/4974d9bf015c465980a72e802d079597 - up-to-date replicated issue, minimal code
https://www.loom.com/share/0caafce51bff49c6907930637875dfd9 - original issue
Reproduction
https://github.com/oodavid/sveltekit-unmount-transitions
Logs
No response
System Info
Severity
annoyance
Additional Information
Related issues:
#5321
#628
#6686 (part of the Svelte 4 Milestone)
The text was updated successfully, but these errors were encountered: