@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.
- package/dist/ej2-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +11 -14
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +11 -16
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/common/menu-base.js +1 -1
- package/src/stepper/stepper.d.ts +1 -0
- package/src/stepper/stepper.js +10 -15
|
@@ -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 (
|
|
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
|
-
|
|
19170
|
-
EventHandler.add(window, '
|
|
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
|
-
|
|
19180
|
-
EventHandler.remove(window, '
|
|
19181
|
-
|
|
19182
|
-
|
|
19183
|
-
|
|
19184
|
-
|
|
19185
|
-
|
|
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) {
|