Fixed a bug in the carousel when move != visible slides #707

wants to merge 2 commits into


None yet
2 participants

In short: if slides to move != visible slides, the carousel target page is not always counted correctly.

We experienced this bug when we were implementing click listeners to the carousel items which show the clicked item in the main slider. As the slider changes the slide, it also moved the carousel to what it thought was the "correct page". The bug appeared when clicking the last image (might appear also in other cases), the carousel incorrectly slid to the previous page although it should've staid on the last page.

In our particular case we had 4 items per page and it was moving 1 item at a time.

jeffikus closed this Apr 1, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment