Skip to content

Commit

Permalink
fix: carousel - solved multilist slides no auto play (#5237)
Browse files Browse the repository at this point in the history
Fixed #5236
  • Loading branch information
gioboa authored and Domainv committed Jun 6, 2019
1 parent 2e9489f commit d4fd9ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/carousel/carousel.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ export class CarouselComponent implements AfterViewInit, OnDestroy {
this.activeSlide = 0;
this.play();
}

if (this.multilist && this._slides.length > this.itemsPerSlide) {
this.play();
}
}

/**
Expand Down

0 comments on commit d4fd9ad

Please sign in to comment.