Skip to content

Reordered items (v-for) lose all their ongoing transitions when move up (but don't when they move down). #13188

Open
@orimay

Description

@orimay

Vue version

3.5.13

Link to minimal reproduction

https://play.vuejs.org/#eNqNVMlu2zAQ/ZUBL7IBr2h7UZ2iSZFDemiLtDfLB5kayYxpUuDiBYb/vUOKdly4DXqSOAvfm3lPOrL7th1tPbKczSw3onVg0fkWZKmau4I5W7BPhQIQm1YbB0cwWMMJaqM3kFFjVqiQ5lpZB8LhxsJdqOnNs/tskD1ki/7HrqT2ijuhFdiVr2uJvT4cQ5zuDm2jbSk9UvP86jifLgbX6flksaDrAE6Fmo07wkSPDlTTytJhJDtbTeMT4Bm1qdBglbj1tsNamz5IbRFKKcGtUBjQqtFCNeBMqawILC3sVqhgo7cItI7e0juotMpcF6e2Q5es9E71RxF1nGBnbUJ/quGgPXAp+Dq0QC1MWlMYC3aCGNRlRYmwz0DTaWgMEkKEiQVL5HqDpAstuUpIHcK/gWR5g6O0+2+syPNPqEps4XMEIFskCZM3UjaulpIBFoTqNl4wyNd4SGE6caJmL8fUTwaK1An6eIyNcCKJ49VjurujkN5m4yux6WjdQXa6j2JnclVbVhVpmsN00u6jaQCWJV83RntVDbmW2uTdAlL2Vf38phI+TCbkHywtDoUaau9Sk7dohhYlcpfTjhWmOPfGBoCWjOXQnF2bSOYr8o45U72lRfJc+TwNyAb0PZIJatGMXqxW9NHGCwpGorVCovneRu8WLD9fXTByud59jTFnPA7Ocb5Cvv5L/MXuQ6xgPwzSbFtS+ZJzpWnQdenHn99wT++X5EZXPnjijeQzWi194NiVPdDIRPuqLrJ9ij8bEu+Xfdw7JFHSUIFoXEusLxj9gL68Mfor3Xej92mdJ3b6DVTqpjA=

Steps to reproduce

Make a v-for list of items, that have ongoing transitions, then reorder them

What is expected?

When we have a v-for with items that have an ongoing transition, and they reorder, all of the items should maintain their ongoing transitions, regardless of their moving directions

What is actually happening?

When we have a v-for with items that have an ongoing transition, and they reorder, only the items that move down maintain their transitions

System Info

Any additional comments?

This affects all the transitions, no matter how deep they are

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨ feature requestNew feature or requesthas workaroundA workaround has been found to avoid the problem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions