angular-ui/angular-ui.github.com

Sortable demo and build broken

skahlert opened this issue · 2 comments

Hi,

the sortable feature is really great... unfortunately it doesn't work correctly.
Try on the demo-page (after fresh page reload) to:

  • drag Barney to top position -> model updated correctly
  • drag Anna to second position -> Anna in model stays in top position
  • drag Anna to third position -> Anna in model moves to second position

In general:
Moving upwards seems to work, moving downwards seems to be off by one.

Sortable demo "Static items" sample can be easily "confudsed". After several passes the view lose the connection to the model or at least to the JSON representation parsed.
AngularUI for AngularJS

"Destroy Families" example: Once a children collection is empty it cannot be populated with a child again.