Merge pull request #6933 from KriXPello/fix-6932

fix(TreeTable): Row selected on click at node toggle icon
pull/6577/merge
Tuğçe Küçükoğlu 2024-12-10 11:52:38 +03:00 committed by GitHub
commit 60de0a306d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}