@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.
@@ -17988,7 +17988,12 @@ var Carousel = /** @__PURE__ @class */ (function (_super) {
17988
17988
  if (this.itemsContainer && this.itemsContainer.firstElementChild) {
17989
17989
  var numOfItems = this.getNumOfItems();
17990
17990
  var slideWidth = this.itemsContainer.firstElementChild.clientWidth;
17991
- this.itemsContainer.style.transform = this.getTranslateX(slideWidth, this.selectedIndex + numOfItems);
17991
+ if (this.loop) {
17992
+ this.itemsContainer.style.transform = this.getTranslateX(slideWidth, this.selectedIndex + numOfItems);
17993
+ }
17994
+ else {
17995
+ this.itemsContainer.style.transform = this.getTranslateX(slideWidth, this.selectedIndex);
17996
+ }
17992
17997
  }
17993
17998
  };
17994
17999
  Carousel.prototype.wireEvents = function () {