diff --git a/slick/slick.js b/slick/slick.js index c16bec2e7..dfcbed9c8 100644 --- a/slick/slick.js +++ b/slick/slick.js @@ -1487,7 +1487,7 @@ } } else { rangeStart = _.options.infinite ? _.options.slidesToShow + _.currentSlide : _.currentSlide; - rangeEnd = rangeStart + _.options.slidesToShow; + rangeEnd = Math.ceil(rangeStart + _.options.slidesToShow); if (_.options.fade === true) { if (rangeStart > 0) rangeStart--; if (rangeEnd <= _.slideCount) rangeEnd++;