@syncfusion/ej2-navigations 26.2.8 → 26.2.10

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.
@@ -2495,7 +2495,9 @@ let MenuBase = class MenuBase extends Component {
2495
2495
  this.removeLIStateByClass([SELECTED], [wrapper]);
2496
2496
  }
2497
2497
  if (!cli || !cli.querySelector('.' + CARET)) {
2498
- this.closeMenu(null, e);
2498
+ if (!Browser.isIos || (Browser.isIos && !e.ctrlKey)) {
2499
+ this.closeMenu(null, e);
2500
+ }
2499
2501
  }
2500
2502
  }
2501
2503
  }
@@ -16428,6 +16430,12 @@ let Breadcrumb = class Breadcrumb extends Component {
16428
16430
  }
16429
16431
  }
16430
16432
  reRenderItems() {
16433
+ if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && this.popupObj.element.querySelector('.e-edit-template')) {
16434
+ this.popupObj.hide();
16435
+ this.popupObj.destroy();
16436
+ this.isPopupCreated = false;
16437
+ detach(this.popupObj.element);
16438
+ }
16431
16439
  this.element.innerHTML = '';
16432
16440
  this.renderItems(this.items);
16433
16441
  }
@@ -16516,7 +16524,7 @@ let Breadcrumb = class Breadcrumb extends Component {
16516
16524
  this.popupObj.show();
16517
16525
  }
16518
16526
  documentClickHandler(e) {
16519
- if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && !closest(e.target, DOT + MENUCLASS)) {
16527
+ if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && !closest(e.target, DOT + MENUCLASS) && !closest(e.target, DOT + 'e-edit-template')) {
16520
16528
  this.popupObj.hide();
16521
16529
  this.popupObj.destroy();
16522
16530
  this.isPopupCreated = false;