@syncfusion/ej2-navigations 34.1.30 → 34.1.31

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.
@@ -12778,7 +12778,9 @@ let TreeView = TreeView_1 = class TreeView extends Component {
12778
12778
  }
12779
12779
  selectNode(li, e, multiSelect) {
12780
12780
  if (isNullOrUndefined(li) || (!this.allowMultiSelection && this.isActive(li) && !isNullOrUndefined(e))) {
12781
- if (this.checkOnClick) {
12781
+ const isDropDownTree = this.element.closest('.e-ddt');
12782
+ const handleCheckOnClick = isDropDownTree ? (this.checkOnClick && this.showCheckBox) : this.checkOnClick;
12783
+ if (handleCheckOnClick) {
12782
12784
  const checkboxElement = select(' .' + CHECKBOXFRAME, li);
12783
12785
  if (!isNullOrUndefined(checkboxElement) && checkboxElement.classList.contains(CHECK)) {
12784
12786
  addClass([li], ACTIVE);