Skip to content

Animation blocks transition #5637

Open
Open
@vwkd

Description

@vwkd

Describe the bug
I couldn't find an issue about it, and the docs don't mention the behaviour either. Is it expected behaviour that an animation of an element blocks a transition of it?

bug

To Reproduce

  1. Create list of elements that changes over time, e.g. with an ephemeral list store.
  2. Put a transition and animation on these elements.
  3. Schedule the changes such that the transition happens at the same time as the animation.

https://svelte.dev/repl/40d4bef097c645189e1a4d73d76ec79f?version=3.29.4

Expected behavior
I'd expect a transition of to not be blocked by an animation, the same way that two transitions don't block each other.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions