@syncfusion/ej2-navigations 26.1.39 → 26.1.40

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.
@@ -1760,7 +1760,8 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
1760
1760
  else if (isOpen && isNullOrUndefined(ulIndex) && _this.navIdx.length) {
1761
1761
  _this.closeMenu(null, e);
1762
1762
  }
1763
- else if (isOpen && !_this.isMenu && !ulIndex && _this.navIdx.length === 0 && !_this.isMenusClosed && !_this.isCmenuHover) {
1763
+ else if (isOpen && !_this.isMenu && !ulIndex && _this.navIdx.length === 0 &&
1764
+ !_this.isMenusClosed && !_this.isCmenuHover) {
1764
1765
  _this.isMenusClosed = true;
1765
1766
  _this.closeMenu(0, e);
1766
1767
  }
@@ -10137,7 +10138,7 @@ var DISABLE = 'e-disable';
10137
10138
  var DROPCOUNT = 'e-drop-count';
10138
10139
  var CHECK = 'e-check';
10139
10140
  var INDETERMINATE = 'e-stop';
10140
- var CHECKBOXWRAP = 'e-checkbox-wrapper';
10141
+ var CHECKBOXWRAP = 'e-treeview-checkbox';
10141
10142
  var CHECKBOXFRAME = 'e-frame';
10142
10143
  var CHECKBOXRIPPLE = 'e-ripple-container';
10143
10144
  var RIPPLE = 'e-ripple';
@@ -10845,6 +10846,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
10845
10846
  TreeView.prototype.beforeNodeCreate = function (e) {
10846
10847
  if (this.showCheckBox) {
10847
10848
  var checkboxEle = createCheckBox(this.createElement, true, { cssClass: this.touchClass });
10849
+ checkboxEle.classList.add(CHECKBOXWRAP);
10848
10850
  var icon = select('div.' + ICON, e.item);
10849
10851
  var id = e.item.getAttribute('data-uid');
10850
10852
  e.item.childNodes[0].insertBefore(checkboxEle, e.item.childNodes[0].childNodes[isNullOrUndefined(icon) ? 0 : 1]);