phphe / vue-draggable-nested-tree

Vue2 draggable tree component
https://hetree.phphe.com/
MIT License
344 stars 62 forks source link

Drag erases data and doesn't allow for a second drag #87

Closed ben-roth closed 5 years ago

ben-roth commented 5 years ago

It's easier to explain in a video. I saw in another comment that maybe it's because I am using vue 2.6?

Here is the link to the video showing what happens.

https://youtu.be/eEb97m7cZ5Y

Any ideas on what might cause this?

ben-roth commented 5 years ago

I tried to use vuejs 2.5.22 and it's still does the same thing... It's a little better but overall it's still buggy.

ben-roth commented 5 years ago

fixed this, seems like it was an issue where i was passing a big object into my vue app and that broke this functionality. I fixed this by passing a stringified version of the object instead of the object itself