-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
Subject of the issue
If you resize a widget while in a smaller breakpoint, then save, then load that widget, it'll now have the wrong width.
Your environment
- version of gridstack.js - 10.2.1
- which browser/OS - Firefox + MacOS
Steps to reproduce
https://jsfiddle.net/8uyv7k9o/4/
- click load
- resize widget 2
- click save
- click load
- item 2 resizes to the full width
- open the console and see that the
w: 4
(or more) on that widget when it started asw: 2
and was shrunk.
Screen.Recording.2024-06-25.at.11.17.46.AM.mov
Expected behavior
The widget should be the same size after load as it was when it was saved. I was hoping #2669 would solve this but it did not.