rc-animate
Advanced tools
Comparing version 1.2.7 to 1.2.8
@@ -110,3 +110,2 @@ 'use strict'; | ||
var newChildren = undefined; | ||
var needSetState = true; | ||
if (showProp) { | ||
@@ -127,3 +126,2 @@ newChildren = currentChildren.map(function (currentChild) { | ||
Object.keys(currentlyAnimatingKeys).forEach(function (key) { | ||
needSetState = false; | ||
_this2.stop(key); | ||
@@ -134,7 +132,6 @@ }); | ||
if (needSetState) { | ||
this.setState({ | ||
children: newChildren | ||
}); | ||
} | ||
// need render to avoid update | ||
this.setState({ | ||
children: newChildren | ||
}); | ||
@@ -141,0 +138,0 @@ nextChildren.forEach(function (c) { |
{ | ||
"name": "rc-animate", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"description": "css-transition ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
21412
454