thecodeholic / lobipanel

jQuery plugin for bootstrap panels. It extends panels with several common and useful functions.
MIT License
168 stars 75 forks source link

Can not move panel if all the panels dragged form one to another column #54

Open AshishShukla16 opened 6 years ago

AshishShukla16 commented 6 years ago

Hi Team,

On the documentation page (http://lobianijs.com/site/lobipanel), there is a section "Multiple panels with drag & drop". In this case if we move all the panels from one column to another and any columns become empty, then any panel can not be moved to the empty column.

It should work because we can achieve same in the jQuery UI sortable - https://jqueryui.com/sortable/#portlets

Could you please let me know how to fix this issue.

thecodeholic commented 6 years ago

Hi @AshishShukla16,

The empty column does not have height and you can not drop panel there. In the latest version of the package, I think there is added min-height: 20px, if not - You can add this to all panel parent elements and it will be solved