Skip to content

Support for AngularJS 1.2.0 (tested with 1.2.0-rc.3) #12

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

Open
kfiil opened this issue Nov 5, 2013 · 5 comments
Open

Support for AngularJS 1.2.0 (tested with 1.2.0-rc.3) #12

kfiil opened this issue Nov 5, 2013 · 5 comments

Comments

@kfiil
Copy link

kfiil commented Nov 5, 2013

First of all, thanks for the cool script! We are in the process of upgrade our Angular app to 1.2 and having some problems with the script. Everything works as usual but when we sort between two lists the sorting item will be shown twice on the receiving list but is only in the model once. Do you have any ideas for what causes this behavior?

@mostr
Copy link
Owner

mostr commented Nov 5, 2013

Could you setup some jsfiddle or plunkr snippet with all the dependencies that cause the issue?

@kfiil
Copy link
Author

kfiil commented Nov 6, 2013

Yes of cause, but accully it seems like the problems comes from angular-ui sortable, I spent a lot time trying to figure it out yesterday so all help is very welcome 😄

Plunkr
http://plnkr.co/edit/tiYWqxI3IsSYOhdTEuOH

@ghost
Copy link

ghost commented Nov 12, 2013

I also use your script and have had the same issue since 1.2.0-rc3. The new stable didn't fix it snif. The strange thing is I don't have any problem with angular-ui, only on multi-sortable.

@mostr
Copy link
Owner

mostr commented Nov 13, 2013

I hope to look at this compatibility issues some time soon.

@kfiil
Copy link
Author

kfiil commented Nov 17, 2013

That would be cool, to be fair i believe the problem is the combination of jQuery UI and AngularJS 1.2.0 and not angular-ui-multi-sortable. The main problem is, that jQuery UI updates the DOM and then when we update the model using $modelValue Angular also updates the DOM. See angular-ui/ui-sortable#48 and angular-ui/ui-sortable#47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants