@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
|
@@ -2495,7 +2495,7 @@ let MenuBase = class MenuBase extends Component {
|
|
|
2495
2495
|
this.removeLIStateByClass([SELECTED], [wrapper]);
|
|
2496
2496
|
}
|
|
2497
2497
|
if (!cli || !cli.querySelector('.' + CARET)) {
|
|
2498
|
-
if (
|
|
2498
|
+
if (navigator.platform.toUpperCase().indexOf('MAC') < 0 || (navigator.platform.toUpperCase().indexOf('MAC') >= 0 && !e.ctrlKey)) {
|
|
2499
2499
|
this.closeMenu(null, e);
|
|
2500
2500
|
}
|
|
2501
2501
|
}
|
|
@@ -18654,21 +18654,18 @@ let Stepper = class Stepper extends StepperBase {
|
|
|
18654
18654
|
}
|
|
18655
18655
|
}
|
|
18656
18656
|
wireEvents() {
|
|
18657
|
-
EventHandler.add(window, 'resize',
|
|
18658
|
-
|
|
18659
|
-
this.setProgressPosition(this.element, true);
|
|
18660
|
-
}
|
|
18661
|
-
this.navigateToStep(this.activeStep, null, null, false);
|
|
18662
|
-
}, this);
|
|
18663
|
-
EventHandler.add(window, 'click', () => { this.updateStepFocus(); }, this);
|
|
18657
|
+
EventHandler.add(window, 'resize', this.updateResize, this);
|
|
18658
|
+
EventHandler.add(window, 'click', this.updateStepFocus, this);
|
|
18664
18659
|
}
|
|
18665
18660
|
unWireEvents() {
|
|
18666
|
-
EventHandler.remove(window, 'resize',
|
|
18667
|
-
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18671
|
-
|
|
18661
|
+
EventHandler.remove(window, 'resize', this.updateResize);
|
|
18662
|
+
EventHandler.remove(window, 'click', this.updateStepFocus);
|
|
18663
|
+
}
|
|
18664
|
+
updateResize() {
|
|
18665
|
+
if (this.stepperItemList && this.progressbar && this.element.classList.contains(HORIZSTEP)) {
|
|
18666
|
+
this.setProgressPosition(this.element, true);
|
|
18667
|
+
}
|
|
18668
|
+
this.navigateToStep(this.activeStep, null, null, false);
|
|
18672
18669
|
}
|
|
18673
18670
|
updateStepFocus() {
|
|
18674
18671
|
if (this.isKeyNavFocus) {
|