Skip to content

Commit

Permalink
Merge pull request alexbrillant#217 from robyweb/patch-1
Browse files Browse the repository at this point in the history
Fix bug where slider clears when reach last card
  • Loading branch information
alexbrillant authored Feb 2, 2019
2 parents 1a1c18f + c601c80 commit 8239cd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,8 @@ class Swiper extends Component {
if (allSwipedCheck()) {
swipedAllCards = true
}
} else {
newCardIndex = 0;
}
}

Expand Down

0 comments on commit 8239cd7

Please sign in to comment.