We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13acc1a commit fa8b029Copy full SHA for fa8b029
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "rc-tween-one",
3
- "version": "2.2.16",
+ "version": "2.2.17",
4
"description": "tween-one anim component for react",
5
"keywords": [
6
"react",
src/TweenOne.jsx
@@ -202,6 +202,8 @@ class TweenOne extends Component {
202
this.raf();
203
// 开始动画
204
this.play();
205
+ } else {
206
+ this.tween = null;
207
}
208
209
@@ -250,7 +252,7 @@ class TweenOne extends Component {
250
252
...e,
251
253
timelineMode: '',
254
};
-
255
+
256
if (
257
(this.moment === this.startMoment &&
258
(!this.reverse && !e.index && e.mode === 'onStart') ||
0 commit comments