angular-ui-tree/angular-ui-tree

cloning a node with its parents

Ygilany opened this issue · 0 comments

Note: for support questions, please use our Gitter channel. This repository's issues are reserved for feature requests and bug reports.

Do you want to request a feature or report a bug?
I tried to ask this question on gitter but it seems the channel isn't really active.

this is a functionality request as I don't think I found anything for it in the documentation.

when cloning/drag and dropping a child node, the node should be cloned with its parents and not individually

example:

node 1
-- node 1.1
---- node 1.1.1
---- node 1.1.2
-- node 1.2

when dragging node 1.1.2, I need to be able to drag the full hiereachy up to the root node
node 1
-- node 1.1
---- node 1.1.2

What is the current behavior?
only the dragged node is being dragged.
when dragging a parent node, it drags it with all of its children (which is great)