aurelia-dragula
aurelia-dragula copied to clipboard
Drag-end callback function always called twice
I noticed that with every drop any where, the drag-end callback function is called twice. The first time before the drop event with the correct (item, itemVM)
data, the second time with always the same data (null, null)
.
So the first call is too early with the correct data, the second call is at the right time but with the wrong data.