Skip to content

Transitions not working correctly on Svelte next #9943

@superboss224

Description

@superboss224

Describe the bug

There is a bug present in the latest next version, ^5.0.0-next.25

Here, on Svelte 4, the transition works correctly :
https://tabby-4.vercel.app/

But with Svelte 5.0.0-next.25, it doesn't work anymore :
https://tabby-5.vercel.app/

I took this example from here :
https://svelte.dev/repl/51f426b2a9404527aaad8093a62d3993?version=3.34.0

And here is the github repo of https://tabby-5.vercel.app/, where the bug is present:
https://github.com/superboss224/tabby-5-bug

I believe it comes from the transition's parameters not being reactive when those parameters are updated

Reproduction

https://github.com/superboss224/tabby-5-bug

Logs

No response

System Info

npmPackages:
  svelte: ^5.0.0-next.25 => 5.0.0-next.25

Severity

blocking an upgrade

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions