Open rory-orennia opened 2 weeks ago
If you resize a widget while in a smaller breakpoint, then save, then load that widget, it'll now have the wrong width.
https://jsfiddle.net/8uyv7k9o/4/
w: 4
w: 2
https://github.com/gridstack/gridstack.js/assets/93952948/38c432b2-7a37-410d-9eeb-2ce68993aa90
The widget should be the same size after load as it was when it was saved. I was hoping https://github.com/gridstack/gridstack.js/issues/2669 would solve this but it did not.
same underlying issue as #2493
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
Steps to reproduce
https://jsfiddle.net/8uyv7k9o/4/
w: 4
(or more) on that widget when it started asw: 2
and was shrunk.https://github.com/gridstack/gridstack.js/assets/93952948/38c432b2-7a37-410d-9eeb-2ce68993aa90
Expected behavior
The widget should be the same size after load as it was when it was saved. I was hoping https://github.com/gridstack/gridstack.js/issues/2669 would solve this but it did not.