Skip to content

Commit ba903da

Browse files
committed
fix group onChange is function
1 parent a3355bf commit ba903da

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.1.4",
3+
"version": "2.1.5",
44
"description": "tween-one anim component for react",
55
"keywords": [
66
"react",

src/TweenOneGroup.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ class TweenOneGroup extends Component {
130130
const appear = transformArguments(this.props.appear, child.key, i);
131131
animation = appear && this.props.enter || null;
132132
}
133-
const onChange = this.onChange.bind(this, animation, child.key, type);
134133
const animate = transformArguments(animation, child.key, i);
134+
const onChange = this.onChange.bind(this, animate, child.key, type);
135135
const props = {
136136
key: child.key,
137137
animation: animate,

0 commit comments

Comments
 (0)