@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.
@@ -13136,7 +13136,9 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
13136
13136
  TreeView.prototype.selectNode = function (li, e, multiSelect) {
13137
13137
  var _this = this;
13138
13138
  if (isNullOrUndefined(li) || (!this.allowMultiSelection && this.isActive(li) && !isNullOrUndefined(e))) {
13139
- if (this.checkOnClick) {
13139
+ var isDropDownTree = this.element.closest('.e-ddt');
13140
+ var handleCheckOnClick = isDropDownTree ? (this.checkOnClick && this.showCheckBox) : this.checkOnClick;
13141
+ if (handleCheckOnClick) {
13140
13142
  var checkboxElement = select(' .' + CHECKBOXFRAME, li);
13141
13143
  if (!isNullOrUndefined(checkboxElement) && checkboxElement.classList.contains(CHECK)) {
13142
13144
  addClass([li], ACTIVE);