basilio / responsiveCarousel

Simple carousel
MIT License
113 stars 64 forks source link

Undesirable transition when total items is one less than visible number #26

Open toitoit opened 10 years ago

toitoit commented 10 years ago

If for example you have 4 total items in your carousel, and "visible" items is set to 3 (i.e. one less than the total), then the fourth item is hidden during the scrolling transition. When the transition is complete then it pops into view, which looks ugly.

It would be great if it were visible during the transition as well, as this is consistent with what would happen if there were 5 total items instead.