phphe / he-tree

Highly customizable draggable Vue.js tree component.
https://hetree.phphe.com/
210 stars 27 forks source link

el.addEventListener is not a function #115

Closed scratchuz4k closed 1 day ago

scratchuz4k commented 2 weeks ago

Hello,

Im doing a vue js application and using the Draggable component but its giving the following error

image

i am unable to use the drag and drop, but the basetree shows correctly

here's the component image

version: 2.8.2

phphe commented 2 weeks ago

could you create a online reproduce?

scratchuz4k commented 2 weeks ago

i tried implementing online, but failed,

maybe im doing something wrong,

here's a pen with the try: https://codepen.io/scratchuz4k/pen/MWdqqpO

phphe commented 1 week ago

could you can create a reproduce on github.

scratchuz4k commented 1 day ago

sorry for the delay, found a workaround :)