@syncfusion/ej2-navigations 25.1.40 → 25.1.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17557,7 +17557,12 @@ let Carousel = class Carousel extends Component {
17557
17557
  if (this.itemsContainer && this.itemsContainer.firstElementChild) {
17558
17558
  const numOfItems = this.getNumOfItems();
17559
17559
  const slideWidth = this.itemsContainer.firstElementChild.clientWidth;
17560
- this.itemsContainer.style.transform = this.getTranslateX(slideWidth, this.selectedIndex + numOfItems);
17560
+ if (this.loop) {
17561
+ this.itemsContainer.style.transform = this.getTranslateX(slideWidth, this.selectedIndex + numOfItems);
17562
+ }
17563
+ else {
17564
+ this.itemsContainer.style.transform = this.getTranslateX(slideWidth, this.selectedIndex);
17565
+ }
17561
17566
  }
17562
17567
  }
17563
17568
  wireEvents() {