Skip to content

Svelte 5: FLIP animations don't take outroing elements out of the flow #10867

Description

@Rich-Harris

Describe the bug

In Svelte 4, we remove outroing elements out of the document flow before measuring the destinations of animating elements, so that they gracefully move to their new home:

https://svelte.dev/repl/6e891305e9644a7ca7065fa95c79d2d2?version=4.2.9

In Svelte 5, we... don't. Whether this looks batshit crazypants or merely broken depends on whether you're looking at this before or after #10798 is merged.

Reproduction

see above

Logs

No response

System Info

next

Severity

annoyance

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