@@ -156,7 +156,7 @@ class QueueAnim extends React.Component {
156
156
const delay = transformArguments ( this . props . delay , key , i ) [ 0 ] ;
157
157
placeholderNode . style . visibility = 'hidden' ;
158
158
velocity ( placeholderNode , 'stop' ) ;
159
- velocity ( placeholderNode , { opacity : [ 0 , 0 ] } , {
159
+ velocity ( placeholderNode , { opacity : [ 0 , 0 ] } , {
160
160
delay : interval * i + delay ,
161
161
duration : 0 ,
162
162
begin : this . performEnterBegin . bind ( this , key , i ) ,
@@ -169,7 +169,7 @@ class QueueAnim extends React.Component {
169
169
performEnterBegin ( key , i ) {
170
170
const childrenShow = this . state . childrenShow ;
171
171
childrenShow [ key ] = true ;
172
- this . setState ( { childrenShow } , this . realPerformEnter . bind ( this , key , i ) ) ;
172
+ this . setState ( { childrenShow} , this . realPerformEnter . bind ( this , key , i ) ) ;
173
173
}
174
174
175
175
realPerformEnter ( key , i ) {
@@ -182,7 +182,7 @@ class QueueAnim extends React.Component {
182
182
velocity ( node , 'stop' ) ;
183
183
velocity ( node , this . getVelocityEnterConfig ( key , i ) , {
184
184
duration : duration ,
185
- easing : this . getVelocityEasing ( ) [ 0 ] ,
185
+ easing : this . getVelocityEasing ( key , i ) [ 0 ] ,
186
186
visibility : 'visible' ,
187
187
begin : this . enterBegin . bind ( this , key ) ,
188
188
complete : this . enterComplete . bind ( this , key ) ,
@@ -202,7 +202,7 @@ class QueueAnim extends React.Component {
202
202
velocity ( node , this . getVelocityLeaveConfig ( key , i ) , {
203
203
delay : interval * order + delay ,
204
204
duration : duration ,
205
- easing : this . getVelocityEasing ( ) [ 1 ] ,
205
+ easing : this . getVelocityEasing ( key , i ) [ 1 ] ,
206
206
begin : this . leaveBegin . bind ( this ) ,
207
207
complete : this . leaveComplete . bind ( this , key ) ,
208
208
} ) ;
0 commit comments