I wanted to build a accordion menu with drag and drop sortable capabilities, I could build it using bootstrap 3 + jQuery UI, but the problem is jQuery UI is conflicting with general operation of a bootstrap accordion. I'm very specific on using Bootstrap Accordion, but I need to resolve the problems produced by jQuery UI.
- Sometimes on sorting either one tab disappears
- When one tab is open and sorted, the closing is done only when the other tab is clicked.
- Improper arrangements of the sort order when tabs are open.
I have consolidated it in a plnkr
$(function(){
$( "#accordion" ).accordion().sortable({
connectWith: "#dropBag"
});
$( "#dropBag" ).sortable({
connectWith: "#accordion"
});
});
http://plnkr.co/edit/LpQuO9nfB4d5Nwhaj6my?p=preview
Please Help.