From 95187bbb9f53f1d30f2396f01d96a6642858c86d Mon Sep 17 00:00:00 2001 From: KriXPello Date: Sat, 7 Dec 2024 18:31:51 +0300 Subject: [PATCH] fix: #6932 TreeTable: Row selected on click at node toggle icon --- packages/primevue/src/treetable/TreeTableRow.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/treetable/TreeTableRow.vue b/packages/primevue/src/treetable/TreeTableRow.vue index 3a8d93f02..56996c8a3 100755 --- a/packages/primevue/src/treetable/TreeTableRow.vue +++ b/packages/primevue/src/treetable/TreeTableRow.vue @@ -156,7 +156,7 @@ export default { this.$emit('node-toggle', this.node); }, onClick(event) { - if (isClickable(event.target) || getAttribute(event.target, 'data-pc-section') === 'nodetogglebutton' || getAttribute(event.target, 'data-pc-section') === 'rowtoggleicon' || event.target.tagName === 'path') { + if (isClickable(event.target) || getAttribute(event.target, 'data-pc-section') === 'nodetogglebutton' || getAttribute(event.target, 'data-pc-section') === 'rowtoggleicon' || getAttribute(event.target, 'data-pc-section') === 'nodetoggleicon' || event.target.tagName === 'path') { return; }