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?
I'm trying to use
ng-sortableinside a directive that is usingng-sortablelike:directive1:directive2directive1is working fine, the list is ordered as expected, but ondirective2when trying to order (dragging/dropping) its changing the order going back to the original position. If I remove theng-sortableconfig ondirective1thedirective2start working.Any idea?