Skip to content

Global transition bug since 5.36.0 #16842

@Snazzah

Description

@Snazzah

Describe the bug

There is a bug with transitions after 5.36.0 where having global transitions inside another transitioning element would not actually transition out the child elements and keep the main element in an "inert" state but keep the element there. Usually it would do a transition out and then remove the element.

Reproduction

Working version: https://svelte.dev/playground/35ef0c0cd4d34512adb64a7d52f9be33?version=5.35.7
Broken version: https://svelte.dev/playground/35ef0c0cd4d34512adb64a7d52f9be33?version=5.36.0

Click "next" on either of the lines and it should do a text animation cycling through lines. The broken version keeps the prior text instead of actually doing the transition. This might be a weird way of doing this kind of animation, but at the very least it shouldn't just stop doing transitions.

Logs

System Info

REPL

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    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