Skip to content

Commit 6cc28ee

Browse files
committed
fix: animation no work #1540
1 parent a66ff7d commit 6cc28ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/_util/css-animation/index.js

+3
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@ const cssAnimation = (node, transitionName, endCallback) => {
104104

105105
node.rcAnimTimeout = requestAnimationTimeout(() => {
106106
node.rcAnimTimeout = null;
107+
108+
nodeClasses.add(className);
107109
nodeClasses.add(activeClassName);
110+
108111
if (active) {
109112
requestAnimationTimeout(active, 0);
110113
}

0 commit comments

Comments
 (0)