amendx / vue-dndrop

:herb: A vue library for drag and drop :sparkles:
https://amendx.github.io/vue-dndrop
MIT License
202 stars 21 forks source link

Nesting question #66

Closed philiprenich closed 1 year ago

philiprenich commented 1 year ago

I'm curious how feasible it is to allow Draggable to be any descendent of Container rather than a direct child.

amendx commented 1 year ago

Hi, @philiprenich I'm afraid that's not possible. Maybe it's easier for you to find a workaround and share with us this solution.

philiprenich commented 1 year ago

Thanks for the response! I haven't dug in to the source too much in the utils folder where the heavy lifting happens so wasn't sure if it was a design decision or Vue component limitation/ease of implementation.

I'm playing with some drag and drop stuff as custom directives rather than components, but I'm afraid I'm just going to be reinventing a lot of the wheel 😅