Skip to content

Nested ng-sortable is not working #12

@samuelcastro

Description

@samuelcastro

I'm trying to use ng-sortable inside a directive that is using ng-sortable like:

directive1:

ng-sortable 
    ng-repeat(list1)
      directive2

directive2

   ng-sortable
      ng-repeat(list2)

directive1 is working fine, the list is ordered as expected, but on directive2 when trying to order (dragging/dropping) its changing the order going back to the original position. If I remove the ng-sortable config on directive1 the directive2 start working.

Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions