kswedberg / jquery-carousel-lite

A jQuery carousel plugin based on jCarouselLite by Ganeshji Marwaha
MIT License
177 stars 59 forks source link

Carousel scrolls backward with uneven number of items #18

Closed jcraane closed 12 years ago

jcraane commented 12 years ago

Some combinations of the number of items displayed and the scroll size makes the carousel scroll sometimes backwards when the next button is clicked. I tested with jQuery 1.3.2 (bug is also present with jQuery 1.7.1 and jquery-carousel-lite version 1.7.2.

Sample code can be found here: https://gist.github.com/2767723

Make sure you add the reference to jquery and carousel-lite before you test the page.

Thanks in advance.

Regards, Jamie Craane

kswedberg commented 12 years ago

thanks so much for providing the gist! that will help as I troubleshoot.