Skip to content

Commit 3561db1

Browse files
committed
return nextState
1 parent f414d3e commit 3561db1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-tween-one",
3-
"version": "2.6.4",
3+
"version": "2.6.5",
44
"description": "tween-one anim component for react",
55
"keywords": [
66
"react",

src/TweenOne.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class TweenOne extends Component {
4848
if (prevProps && props !== prevProps) {
4949
if (!$self.tween && !$self.dom) {
5050
$self.updateAnim = true;
51-
return null;
51+
return nextState;
5252
}
5353

5454
// 动画处理

0 commit comments

Comments
 (0)