I am using Vuedraggable (Sortable JS) to try and accomplish grouping of items. The items themselves shouldn't have children (as the demos for Sortable JS use), but instead should be grouped in a parent "group" type object. I'm having issues stopping groups from being dragged inside of other groups, as at the first level, both the Group Objects and Form Objects are in the same "sortable group".
#4 is the current issue. Its currently possible to drag one group inside another group. Its not easy to do... if you first drag an object from one group into another group, this seems to make it easier to subsequently grab the fist group and drag it into the 2nd group.
Here is a codesandbox illustrating the issue: https://codesandbox.io/s/vuedraggable-nested-simplified-wc-tr6mx?file=/src/components/NestedDraggable.vue
Looks like the answer is to use a function in the pull/put configuration of the group
Working CodeSandbox
References:
https://github.com/SortableJS/Vue.Draggable#props
https://github.com/SortableJS/Sortable#options