@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.
@@ -13103,16 +13103,18 @@ let TreeView = TreeView_1 = class TreeView extends Component {
13103
13103
  this.dragStartAction = false;
13104
13104
  }
13105
13105
  getOffsetX(event, target) {
13106
- if (event instanceof TouchEvent && event.changedTouches.length > 0) {
13107
- return event.changedTouches[0].clientX - target.getBoundingClientRect().left;
13106
+ const touchList = event.changedTouches;
13107
+ if (touchList && touchList.length > 0) {
13108
+ return touchList[0].clientX - target.getBoundingClientRect().left;
13108
13109
  }
13109
13110
  else {
13110
13111
  return event.offsetX;
13111
13112
  }
13112
13113
  }
13113
13114
  getOffsetY(event, target) {
13114
- if (event instanceof TouchEvent && event.changedTouches.length > 0) {
13115
- return event.changedTouches[0].clientY - target.getBoundingClientRect().top;
13115
+ const touchList = event.changedTouches;
13116
+ if (touchList && touchList.length > 0) {
13117
+ return touchList[0].clientY - target.getBoundingClientRect().top;
13116
13118
  }
13117
13119
  else {
13118
13120
  return event.offsetY;
@@ -18761,7 +18763,7 @@ let Stepper = class Stepper extends StepperBase {
18761
18763
  if (this.stepperItemList && this.progressbar && this.element.classList.contains(HORIZSTEP)) {
18762
18764
  this.setProgressPosition(this.element, true);
18763
18765
  }
18764
- this.navigateToStep(this.activeStep, null, null, false);
18766
+ this.navigateToStep(this.activeStep, null, null, false, false);
18765
18767
  }
18766
18768
  updateStepFocus() {
18767
18769
  if (this.isKeyNavFocus) {
@@ -19465,7 +19467,7 @@ let Stepper = class Stepper extends StepperBase {
19465
19467
  if (this.stepperItemList && this.progressbar) {
19466
19468
  this.setProgressPosition(this.element);
19467
19469
  }
19468
- this.navigateToStep(this.activeStep, null, null, false);
19470
+ this.navigateToStep(this.activeStep, null, null, false, false);
19469
19471
  }
19470
19472
  updateElementClassArray() {
19471
19473
  const classArray = [RTL$3, READONLY, 'e-steps-focus', LABELAFTER, LABELBEFORE, 'e-label-top',