malsup / cycle2

2nd gen cycling
899 stars 236 forks source link

If # carousel-visible is greater than # of slides "goto" first slide does not work. #691

Open twelve6 opened 9 years ago

twelve6 commented 9 years ago

Basically what the title says: If the number set in carousel-visible is greater than the number of slides, going to the last slide and back to the first is impossible. Is this a bug? or am I doing something wrong?

Everything is fine if the number of slides it equal to/less than carousel-visible attribute. Edit the carousel-visible attribute to test.

Codepen: http://codepen.io/anon/pen/aObOqW