Fixed #543 - Tree selection is broken when ripple is enabled

pull/548/head
Cagatay Civici 2020-10-10 18:47:15 +03:00
parent e708cc719e
commit b68e9a1da5
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ export default {
this.$emit('node-toggle', node); this.$emit('node-toggle', node);
}, },
onClick(event) { onClick(event) {
if (DomHandler.hasClass(event.target, 'p-tree-toggler') || DomHandler.hasClass(event.target, 'p-tree-toggler-icon')) { if (DomHandler.hasClass(event.target, 'p-tree-toggler') || DomHandler.hasClass(event.target.parentElement, 'p-tree-toggler')) {
return; return;
} }