Skip to content

Ant Design Vue会污染Vue原生fade动画的bug #3040

@mollerzhu

Description

@mollerzhu
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.5

Environment

Vue: 2.5.2, Chrome, Win10

Reproduction link

Edit on CodeSandbox

Steps to reproduce

初始化一个全新AntDV项目,当在页面上加上transition的fade时,因为调用了antdv库,动画失效,必须加上以下css才可以。直接参考重现链接里的内容
.fade-enter.fade-enter-active,
.fade-appear.fade-appear-active {
-webkit-animation-name: none;
animation-name: none;
}

.fade-leave.fade-leave-active {
-webkit-animation-name: none;
animation-name: none;
}

What is expected?

正确使用vue的原生动画

What is actually happening?

无法正确使用vue的原生动画

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