Fixed #4010 - TreeTable: event propagation issue

pull/4041/head
Tuğçe Küçükoğlu 2023-06-07 10:44:59 +03:00
parent 26d30ab298
commit 90412ac80e
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ export default {
this.$emit('node-toggle', this.node); this.$emit('node-toggle', this.node);
}, },
onClick(event) { onClick(event) {
if (DomHandler.isClickable(event.target) || DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowtoggler' || DomHandler.getAttribute(event.target.parentElement, 'data-pc-section') === 'rowtoggler') { if (DomHandler.isClickable(event.target) || DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowtoggler' || DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowtogglericon' || event.target.tagName === 'path') {
return; return;
} }