Skip to content

Unnecessary move animation in nested <transition-group>  #5385

@scx567888

Description

@scx567888

Version

3.2.30

Reproduction link

github.com

Steps to reproduce

npm run dev
en : and click green or red button to change sort
中文 : 然后点击绿色或红色的按钮调整列表顺序

What is expected?

en : Only the outermost div has transition animation
中文 : 只有最外层的 div 有过渡动画

What is actually happening?

en : Inner div also has transition animation
中文 : 内部的 div 同样产生了过渡效果


en : i find add a css can fix this bug
中文 : 我发现添加一个 css 可以修复这个 bug

.scx-group-list-move .scx-group-list-move {
transition: unset;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: transition

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions