@syncfusion/ej2-navigations 26.2.8 → 26.2.11

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,9 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2592
2592
  this.removeLIStateByClass([SELECTED], [wrapper]);
2593
2593
  }
2594
2594
  if (!cli || !cli.querySelector('.' + CARET)) {
2595
- this.closeMenu(null, e);
2595
+ if (navigator.platform.toUpperCase().indexOf('MAC') < 0 || (navigator.platform.toUpperCase().indexOf('MAC') >= 0 && !e.ctrlKey)) {
2596
+ this.closeMenu(null, e);
2597
+ }
2596
2598
  }
2597
2599
  }
2598
2600
  }
@@ -16841,6 +16843,12 @@ var Breadcrumb = /** @__PURE__ @class */ (function (_super) {
16841
16843
  }
16842
16844
  };
16843
16845
  Breadcrumb.prototype.reRenderItems = function () {
16846
+ if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && this.popupObj.element.querySelector('.e-edit-template')) {
16847
+ this.popupObj.hide();
16848
+ this.popupObj.destroy();
16849
+ this.isPopupCreated = false;
16850
+ detach(this.popupObj.element);
16851
+ }
16844
16852
  this.element.innerHTML = '';
16845
16853
  this.renderItems(this.items);
16846
16854
  };
@@ -16930,7 +16938,7 @@ var Breadcrumb = /** @__PURE__ @class */ (function (_super) {
16930
16938
  this.popupObj.show();
16931
16939
  };
16932
16940
  Breadcrumb.prototype.documentClickHandler = function (e) {
16933
- if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && !closest(e.target, DOT + MENUCLASS)) {
16941
+ 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')) {
16934
16942
  this.popupObj.hide();
16935
16943
  this.popupObj.destroy();
16936
16944
  this.isPopupCreated = false;