diff --git a/src/components/carousel/carousel.component.ts b/src/components/carousel/carousel.component.ts index c9883fa3..55cbbc1a 100644 --- a/src/components/carousel/carousel.component.ts +++ b/src/components/carousel/carousel.component.ts @@ -381,10 +381,10 @@ export default class SlCarousel extends ShoelaceElement { this.createClones(); } - this.synchronizeSlides(); - // Because the DOM may be changed, restore the scroll position to the active slide this.goToSlide(this.activeSlide, 'auto'); + + this.synchronizeSlides(); } private createClones() {