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

Weird behaviour with copy (true) and ordering. #82

Closed tssa88 closed 8 years ago

tssa88 commented 8 years ago

How it should works: Able to copy items from left container to right container. Only right container should order items.

What's actually happening: Ordering is enabled for both containers. Array gets messed up when ordering. It displays duplicated items! Drop-model events also not firing with this code:


        $scope.$on('first-bag.drop-model', function (e, el, target, source) {
            console.log("testing", el);
        });

What am I doing wrong?

This is the code example: https://embed.plnkr.co/11A5M9gfNrcjr1OtUBIo/

tssa88 commented 8 years ago

Resolved.

dylanspurgin commented 6 years ago

@thiagosoeiro What was the resolution for this issue? I am having the same issue.