sl-vue-tree
sl-vue-tree copied to clipboard
Dragging throws TypeError: e.onDragendHandler is not a function
This occurs using sl-vue-tree in a .vue component. It seems to be triggered by having a item 'selected' within a sl-vue-tree row. Also, there is no onDragendHandler in sl-vue-tree.js.
I had this problem because I used the router-link component in the title-slot, which renders an anchor tag. The anchor tag is draggable per default, which conflicted with the dragging event of the sl-vue-tree. The solution in my case was to add draggable="false" to the router-link component.
thanks @christopherchristensen