Closed sama55 closed 7 years ago
When plugin is initialized lobipanel-parent-sortable
class is added to parent element of panels and sortable works for only elements with lobipanel-parent-sortable
class.
Try to add lobipanel-parent-sortable
class to empty div and it should work
Thank you for your quick reply. Only to add lobipanel-parent-sortable class had no effect. Dummy child element also seems necessary. Example (My code):
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-9 col-lg-9 my-col-nopadding">
<div class="my-col-left lobipanel-parent-sortable">
<div style="display:none" class="lobipanel lobipanel-sortable"></div>
[*items_left*]
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-3 col-lg-3 my-col-nopadding">
<div class="my-col-right lobipanel-parent-sortable">
<div style="display:none" class="lobipanel lobipanel-sortable"></div>
[*items_right*]
</div>
</div>
</div>
Thanks.
Is this the specification of jquery-UI? Do I need to add a dummy (not visible) panel?