Swapping elements instead of sorting #449
Description
Hello,
I've been working for a while on this case and it has just been giving me hardcore headaches so here is what I just founded.
I've got some objects in my list (looking like this) :
Here is the content binded with ng-model :
The thing is that when I am trying to swap the card 2 with the card 0, the result I see is not what I am expecting :
In fact, we'll see that card 2 is nicely ordered but we see that card 0 is taking the place of card 1 in the list instead of picking old's card 2 place (at the end).
So here's my question : is that the normal behaviour or is it a real ordering problem ?
Sorry for my poor English, I hope i was clear.
EDIT : After doing some more research and checking in codepens, I think it's the right behaviour. Is it possible to add an option to swap items in the sortableOption instead of reordering them ?