Fixed #543 - Tree selection is broken when ripple is enabled
parent
e708cc719e
commit
b68e9a1da5
|
@ -62,7 +62,7 @@ export default {
|
|||
this.$emit('node-toggle', node);
|
||||
},
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue