@syncfusion/ej2-navigations 26.2.10 → 26.2.12

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.
@@ -2592,7 +2592,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2592
2592
  this.removeLIStateByClass([SELECTED], [wrapper]);
2593
2593
  }
2594
2594
  if (!cli || !cli.querySelector('.' + CARET)) {
2595
- if (!Browser.isIos || (Browser.isIos && !e.ctrlKey)) {
2595
+ if (navigator.platform.toUpperCase().indexOf('MAC') < 0 || (navigator.platform.toUpperCase().indexOf('MAC') >= 0 && !e.ctrlKey)) {
2596
2596
  this.closeMenu(null, e);
2597
2597
  }
2598
2598
  }
@@ -19166,23 +19166,18 @@ var Stepper = /** @__PURE__ @class */ (function (_super) {
19166
19166
  }
19167
19167
  };
19168
19168
  Stepper.prototype.wireEvents = function () {
19169
- var _this = this;
19170
- EventHandler.add(window, 'resize', function () {
19171
- if (_this.stepperItemList && _this.progressbar && _this.element.classList.contains(HORIZSTEP)) {
19172
- _this.setProgressPosition(_this.element, true);
19173
- }
19174
- _this.navigateToStep(_this.activeStep, null, null, false);
19175
- }, this);
19176
- EventHandler.add(window, 'click', function () { _this.updateStepFocus(); }, this);
19169
+ EventHandler.add(window, 'resize', this.updateResize, this);
19170
+ EventHandler.add(window, 'click', this.updateStepFocus, this);
19177
19171
  };
19178
19172
  Stepper.prototype.unWireEvents = function () {
19179
- var _this = this;
19180
- EventHandler.remove(window, 'resize', function () {
19181
- if (_this.stepperItemList && _this.progressbar && _this.element.classList.contains(HORIZSTEP)) {
19182
- _this.setProgressPosition(_this.element, true);
19183
- }
19184
- });
19185
- EventHandler.remove(window, 'click', function () { _this.updateStepFocus(); });
19173
+ EventHandler.remove(window, 'resize', this.updateResize);
19174
+ EventHandler.remove(window, 'click', this.updateStepFocus);
19175
+ };
19176
+ Stepper.prototype.updateResize = function () {
19177
+ if (this.stepperItemList && this.progressbar && this.element.classList.contains(HORIZSTEP)) {
19178
+ this.setProgressPosition(this.element, true);
19179
+ }
19180
+ this.navigateToStep(this.activeStep, null, null, false);
19186
19181
  };
19187
19182
  Stepper.prototype.updateStepFocus = function () {
19188
19183
  if (this.isKeyNavFocus) {