-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested ng-sortable is not working #12
Comments
I have approximatively same problem when use ng-sortable inside a directive who alreay use ng-sortable. I haven't problem with directive 2 (drag/drop work well inside directive 2), but I have problem when I try to put item of list2 in list1 I have make plunker in issue #8 and #9 I try to fix this problem with no success |
I've got nested sorting to work I was using nested components, try making your directives have isolated scope, failing that you prob could pass a conf object to |
@royka either using isolated scope or The only detail that I'm not sure could make or not any difference here is that I'm requiring |
|
+1... Running into this issue as well. Any solutions yet? The child sortable is taking the parent sortable's index value which is breaking functionality. |
@samjacobclift Still getting this issue, any idea? |
I think this might be to do with the version of sortable JS being used, what versions are you guys using? |
I'm trying to use
ng-sortable
inside a directive that is usingng-sortable
like:directive1:
directive2
directive1
is working fine, the list is ordered as expected, but ondirective2
when trying to order (dragging/dropping) its changing the order going back to the original position. If I remove theng-sortable
config ondirective1
thedirective2
start working.Any idea?
The text was updated successfully, but these errors were encountered: