bevacqua / angularjs-dragula

:ok_hand: Drag and drop so simple it hurts
https://bevacqua.github.io/angularjs-dragula
MIT License
509 stars 110 forks source link

How can i drop to any position in the lists ? #116

Open techno-rds opened 7 years ago

techno-rds commented 7 years ago

See I have three list A = 0, B =10 , C = 4

When drag any element from B list to A I want that the position need to be fixed. https://www.screencast.com/t/fOF2D1lY

but it working like this:https://www.screencast.com/t/lQEj7qyGx7 can you please help me with this

 <div class='container' dragula='"first-bag"' dragula-model='A.list'>
    <div ng-repeat="products in A.list">{{products.id}}---{{products.name}}</div>
  </div>
  <div class='container' dragula='"first-bag"' dragula-model='B.list'>
    <div ng-repeat="products in B.list">{{products.id}}---{{products.name}}</div>
  </div>
  <div class='container' dragula='"first-bag"' dragula-model='C.list'>
    <div ng-repeat="products in C.list">{{products.id}}---{{products.name}}</div>
  </div>