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 1771bb9 commit 8d65067Copy full SHA for 8d65067
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "rc-tween-one",
3
- "version": "2.2.1",
+ "version": "2.2.2",
4
"description": "tween-one anim component for react",
5
"keywords": [
6
"react",
src/TweenOne.jsx
@@ -130,6 +130,9 @@ class TweenOne extends Component {
130
}
131
// 样式更新了后再执行动画;
132
if (this.updateAnim && this.dom && this.dom.nodeName !== '#text') {
133
+ if (this.tween) {
134
+ this.cancelRequestAnimationFrame();
135
+ }
136
this.start();
137
138
0 commit comments