@syncfusion/ej2-navigations 27.1.50 → 27.1.51

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.
@@ -13457,16 +13457,18 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
13457
13457
  this.dragStartAction = false;
13458
13458
  };
13459
13459
  TreeView.prototype.getOffsetX = function (event, target) {
13460
- if (event instanceof TouchEvent && event.changedTouches.length > 0) {
13461
- return event.changedTouches[0].clientX - target.getBoundingClientRect().left;
13460
+ var touchList = event.changedTouches;
13461
+ if (touchList && touchList.length > 0) {
13462
+ return touchList[0].clientX - target.getBoundingClientRect().left;
13462
13463
  }
13463
13464
  else {
13464
13465
  return event.offsetX;
13465
13466
  }
13466
13467
  };
13467
13468
  TreeView.prototype.getOffsetY = function (event, target) {
13468
- if (event instanceof TouchEvent && event.changedTouches.length > 0) {
13469
- return event.changedTouches[0].clientY - target.getBoundingClientRect().top;
13469
+ var touchList = event.changedTouches;
13470
+ if (touchList && touchList.length > 0) {
13471
+ return touchList[0].clientY - target.getBoundingClientRect().top;
13470
13472
  }
13471
13473
  else {
13472
13474
  return event.offsetY;
@@ -19273,7 +19275,7 @@ var Stepper = /** @__PURE__ @class */ (function (_super) {
19273
19275
  if (this.stepperItemList && this.progressbar && this.element.classList.contains(HORIZSTEP)) {
19274
19276
  this.setProgressPosition(this.element, true);
19275
19277
  }
19276
- this.navigateToStep(this.activeStep, null, null, false);
19278
+ this.navigateToStep(this.activeStep, null, null, false, false);
19277
19279
  };
19278
19280
  Stepper.prototype.updateStepFocus = function () {
19279
19281
  if (this.isKeyNavFocus) {
@@ -19981,7 +19983,7 @@ var Stepper = /** @__PURE__ @class */ (function (_super) {
19981
19983
  if (this.stepperItemList && this.progressbar) {
19982
19984
  this.setProgressPosition(this.element);
19983
19985
  }
19984
- this.navigateToStep(this.activeStep, null, null, false);
19986
+ this.navigateToStep(this.activeStep, null, null, false, false);
19985
19987
  };
19986
19988
  Stepper.prototype.updateElementClassArray = function () {
19987
19989
  var classArray = [RTL$3, READONLY, 'e-steps-focus', LABELAFTER, LABELBEFORE, 'e-label-top',