I have a list of items with different column widths in bootstrap. The items are getting displayed correctly in their respective columns. I am trying to add a sorting feature to this items using angular-ui-sortable. The items are getting dragged but return to their original position after I drop them. Also if I select any item and try to drag it, the item moves to the top left corner.
<div ui-sortable="sortableOptions" ng-model="itemList">
<div ng-repeat="item in itemList">
<div class="col-sm-{{item.cols}}">
<div class="box">{{item.cols}}</div>
</div>
</div>
</div>
You can find the full Plunker example here