backport SL-2260

This commit is contained in:
Cory LaViska
2024-11-12 11:08:57 -05:00
parent e5fced8cee
commit c57cdb75b5

View File

@@ -376,10 +376,10 @@ export default class WaCarousel extends WebAwesomeElement {
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() {