riophae / vue-treeselect

A multi-select component with nested options support for Vue.js
https://vue-treeselect.js.org/
MIT License
2.91k stars 509 forks source link

can not copy selected item text #468

Open plutda opened 3 years ago

plutda commented 3 years ago

modify file: node_modules/@riophae/vue-treeselect/dist/vue-treeselect.cjs.js line 1273 :

handleMouseDown: onLeftClick(function handleMouseDown(evt) {
// add code
if(!(evt.target.parentElement.className === 'vue-treeselect__multi-value-label')) {
evt.preventDefault();
}
// evt.preventDefault();
evt.stopPropagation();
webywz commented 1 year ago

@plutda I tried it, but it didn't work. Is there any better way?