Skip to content

Elements (components) with transition overlap each other in an each block using flip animation #4910

@Fygo

Description

@Fygo

Issue: When an each block which has animation:flip set contains items which have transition:xyz set and this each block is updated (e.g. some items removed), the items may not get the correct position if the update occurs while the previous transitions are running.

REPL: https://svelte.dev/repl/324c3d19fe1b4648919af7b2eef7e4f3?version=3.22.3

Steps to reproduce: click the button quickly 2-3 times, (or change the input field's value while the list is animating).

Result: Some elements overlap each other, breaking the order.

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