Skip to content

Draggable with Draggable Children? (draggable tree) #152

@plong0

Description

@plong0

Wondering if there are any examples of ngDraggable items with ngDraggable children?

I am looking at creating a recursive tree and would like to be able to move items around in it.

I am starting to work on it, but wanted to ask if anyone has worked with this before?
If I am successful, I will post a PR with working example.

The first trouble I am seeing is that when I drag a child node, it also drags the parent.

Another strange thing I am seeing is that when I drag an item with draggable children, the ng-drag-* functions get called several times each (all with the same "data" parameter though).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions