Description
Type of Issue
[ ] Bug
[ ] Feature Request
[ X ] Question
Subject of the issue
Is it possible to manually trigger re calculation of item position? (similar to when dragging an item, and other items make way for the item being dragged)
I am working on nested grids and I have successfully managed to correct the number of columns in a nested grid, if the nested grid's container's size was changed. But then it leaves the nested items in a weird state. I was wondering if there was a way to trigger manual re positioning of items in the grid.
Your environment
GridStack 0.3.0
Google Chrome
Version 61.0.3163.100 (Official Build) (64-bit)
Steps to reproduce
Preview the issue at codepen.
https://codepen.io/nissim/pen/bYgjvb
Expected behaviour
I know that auto positioning is not the expected behavior but I would like to find out how tp.
Actual behaviour
- Item disappears from visible area, if container resized to too small.
- Item overlaps
- If after resizing, item it moved then position is adjusted correctly.
- If resized back to original size, all elements appear