Skip to content

Commit

Permalink
Merge pull request #6933 from KriXPello/fix-6932
Browse files Browse the repository at this point in the history
fix(TreeTable): Row selected on click at node toggle icon
  • Loading branch information
tugcekucukoglu authored Dec 10, 2024
2 parents 1437b01 + 95187bb commit 60de0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primevue/src/treetable/TreeTableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 60de0a3

Please sign in to comment.