Open
Description
Subject of the issue
Layout breaks when grid is initialized in one column through breakpoints with makeWidget(). Both the order is wrong and when resizing, it doesnt properly restore the 12 column layout.
Your environment
- version of gridstack.js - 12.2.1
- which browser/OS: Firefox/Windows
Steps to reproduce
https://jsfiddle.net/f3159znr/3/
Size output window down so its smaller than the breakpoint, then reload and resize it so its larger than the breakpoint
one-column.mp4
Expected behavior
Grid should behave like a grid initialized with 12 columns:
normal.mp4
I created a PR with a possible fix here: #3072
Metadata
Metadata
Assignees
Labels
No labels