Skip to content

Commit

Permalink
fix #60
Browse files Browse the repository at this point in the history
  • Loading branch information
jljsj33 committed Jun 25, 2018
1 parent 5cd8445 commit a14e85e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rc-queue-anim",
"version": "1.6.3",
"version": "1.6.4",
"description": "Queue animation component for react",
"keywords": [
"react",
Expand Down
4 changes: 2 additions & 2 deletions src/QueueAnim.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,10 @@ class QueueAnim extends React.Component {
}
const childrenShow = this.state.childrenShow;
delete childrenShow[key];
delete this.saveTweenOneTag[key];
delete this.unwantedStart[key];
if (this.keysToLeave.indexOf(key) >= 0) {
this.keysToLeave.splice(this.keysToLeave.indexOf(key), 1);
delete this.saveTweenOneTag[key];
delete this.unwantedStart[key];
}
const needLeave = this.keysToLeave.some(c => childrenShow[c]);
if (!needLeave) {
Expand Down

0 comments on commit a14e85e

Please sign in to comment.