Skip to content

Commit d4fd9ad

Browse files
gioboaDomainv
authored andcommitted
fix: carousel - solved multilist slides no auto play (#5237)
Fixed #5236
1 parent 2e9489f commit d4fd9ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/carousel/carousel.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ export class CarouselComponent implements AfterViewInit, OnDestroy {
149149
this.activeSlide = 0;
150150
this.play();
151151
}
152+
153+
if (this.multilist && this._slides.length > this.itemsPerSlide) {
154+
this.play();
155+
}
152156
}
153157

154158
/**

0 commit comments

Comments
 (0)