diff --git a/src/ItemsCarousel/helpers.js b/src/ItemsCarousel/helpers.js index 172ada3..8b872af 100644 --- a/src/ItemsCarousel/helpers.js +++ b/src/ItemsCarousel/helpers.js @@ -118,7 +118,7 @@ export const calculateActiveItemTranslateX = ({ } // Last items to show - if(!infiniteLoop && gotoIndex > (numberOfChildren - numberOfCards - 1)) { + if(!infiniteLoop && gotoIndex > (numberOfChildren - numberOfCards)) { return calculateLastPossibleTranslateX({ activeItemIndex: gotoIndex, activePosition,