manishjanky/ngx-sortable

Auto adjust the empty space of the item using sortable

vanshajrai09 opened this issue · 2 comments

Used Sortablejs in one of the module, where i have provided the functionality of Manage widget, functionality wise, while i am dragging the list item from the manage widget, the associated widget should get change the position.
ss3

Issue : In the module, i have two size of widgets (small and large), While placing small widget next to large one, it is taking by default height and cause white space.
ss4

Expectation : Small widgets which is next to large, it should get auto adjust the empty space and other small widget should get placed up in the empty space.
SS1

Refer screenshots : SS

Sorry for the delayed response.
Let me see what I can do for this.

Did you try the listStyle config property where you can pass the height of the list. That will cover the available space. I believe that will solve this for you.