phphe/vue-draggable-nested-tree

Delay when dragging across collapsed tree

patrick0888 opened this issue · 2 comments

Is it possible to add a little delay when dragging across collapsed elements to keep them collapsed?

phphe commented

there are several actions at https://github.com/phphe/vue-draggable-nested-tree/blob/master/src/components/autoMoveDragPlaceHolder.js#L11
In this case, you can overwrite it with setTimeout if the target is collapsed and has children.

I'd love that feature as well.
@patrick0888 did you manage to get this feature working? would you mind sharing your results?