@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.
@@ -1679,7 +1679,8 @@ let MenuBase = class MenuBase extends Component {
1679
1679
  else if (isOpen && isNullOrUndefined(ulIndex) && this.navIdx.length) {
1680
1680
  this.closeMenu(null, e);
1681
1681
  }
1682
- else if (isOpen && !this.isMenu && !ulIndex && this.navIdx.length === 0 && !this.isMenusClosed && !this.isCmenuHover) {
1682
+ else if (isOpen && !this.isMenu && !ulIndex && this.navIdx.length === 0 &&
1683
+ !this.isMenusClosed && !this.isCmenuHover) {
1683
1684
  this.isMenusClosed = true;
1684
1685
  this.closeMenu(0, e);
1685
1686
  }
@@ -9834,7 +9835,7 @@ const DISABLE = 'e-disable';
9834
9835
  const DROPCOUNT = 'e-drop-count';
9835
9836
  const CHECK = 'e-check';
9836
9837
  const INDETERMINATE = 'e-stop';
9837
- const CHECKBOXWRAP = 'e-checkbox-wrapper';
9838
+ const CHECKBOXWRAP = 'e-treeview-checkbox';
9838
9839
  const CHECKBOXFRAME = 'e-frame';
9839
9840
  const CHECKBOXRIPPLE = 'e-ripple-container';
9840
9841
  const RIPPLE = 'e-ripple';
@@ -10520,6 +10521,7 @@ let TreeView = TreeView_1 = class TreeView extends Component {
10520
10521
  beforeNodeCreate(e) {
10521
10522
  if (this.showCheckBox) {
10522
10523
  const checkboxEle = createCheckBox(this.createElement, true, { cssClass: this.touchClass });
10524
+ checkboxEle.classList.add(CHECKBOXWRAP);
10523
10525
  const icon = select('div.' + ICON, e.item);
10524
10526
  const id = e.item.getAttribute('data-uid');
10525
10527
  e.item.childNodes[0].insertBefore(checkboxEle, e.item.childNodes[0].childNodes[isNullOrUndefined(icon) ? 0 : 1]);