diff --git a/projects/kit/components/carousel/carousel.component.ts b/projects/kit/components/carousel/carousel.component.ts index 303d1a6084eb..2941f3891ca1 100644 --- a/projects/kit/components/carousel/carousel.component.ts +++ b/projects/kit/components/carousel/carousel.component.ts @@ -86,6 +86,10 @@ export class TuiCarouselComponent { } next(): void { + if (this.items && this.index === this.items.length - this.itemsCount) { + return; + } + this.updateIndex(this.index + 1); }