rc-animate
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -179,7 +179,7 @@ 'use strict'; | ||
componentDidUpdate: function componentDidUpdate() { | ||
componentDidUpdate: function componentDidUpdate(prevProps) { | ||
var _this3 = this; | ||
// exclusive needs immediate response | ||
if (this.props.exclusive) { | ||
if (this.props.exclusive && this.props !== prevProps) { | ||
Object.keys(this.currentlyAnimatingKeys).forEach(function (key) { | ||
@@ -186,0 +186,0 @@ _this3.stop(key); |
{ | ||
"name": "rc-animate", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "css-transition ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
22143