@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.
- package/dist/ej2-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +3 -1
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +3 -1
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/treeview/treeview.js +3 -1
|
@@ -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
|
-
|
|
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);
|