Closed Kisama closed 10 years ago
Can you provide a fiddle/pen? I will give it a try tonight. Thanks!
Sorry it took me so long to put some effort to this. I was busy with mozilla/localForage. The rest of the week will be ui-sortable + ui-sortable-multiselection.
@Kisama Please take a look at PR #5, it should properly handle cancel() now. The examples are also updated to demonstrate the case. If you find it to work for you as well, then we can merge it to master as v0.1.1 or something.
Thank you, It works good. and I found another bug, I create new issue about that
When call ui.item.sortable.cancel() in update function, sortable item canceled but multi selected item is not canceled.
In my opinion, in update fucntion in extendOptions if(ui.item.sortable.received && !ui.item.sortable.isCanceled()){ ... } else { ui.item.siblings('.' + selectedItemClass).show(); // it is needed for fix this bug. }