Context menu not related to clicked item
Closed this issue · 1 comments
shealavington commented
It appears that the context menu is only acting upon the last/selected item. I would expect the behaviour to act upon the node that I have selected.
shealavington commented
Answer found in an older issue, sorry for double issueing!
showContextMenu(node, event) {
this.$refs.slVueTree.select(node.path); // <-- add this line to select current node
},