rc-animate
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -81,3 +81,10 @@ 'use strict'; | ||
var name = nameIsObj ? transitionName[animationType] : transitionName + '-' + animationType; | ||
this.stopper = (0, _cssAnimation2["default"])(node, name, end); | ||
var activeName = name + '-active'; | ||
if (nameIsObj && transitionName[animationType + 'Active']) { | ||
activeName = transitionName[animationType + 'Active']; | ||
} | ||
this.stopper = (0, _cssAnimation2["default"])(node, { | ||
name: name, | ||
active: activeName | ||
}, end); | ||
} else { | ||
@@ -84,0 +91,0 @@ this.stopper = props.animation[animationType](node, end); |
{ | ||
"name": "rc-animate", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "css-transition ui component for react", | ||
@@ -55,4 +55,4 @@ "keywords": [ | ||
"dependencies": { | ||
"css-animation": "1.x" | ||
"css-animation": "^1.3.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23878
520
Updatedcss-animation@^1.3.0