You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
addGrid() does not recognize rem units for cell height #1794
I am using 10rem as my cell height in my grid. I set up for a save of the full serial data [ save(true, true) command ] into a variable fullSerialData, then without loading the page, i destroy the grid, then call the GridStack.addGrid() of that same serial name [ load(fullSerialData, true) ] and it sets the cellHeight to 10px instead of 10rem.
Your environment
version of gridstack.js gridstack@4.2.5 using HTML5 version
which browser/OS Brave Version 1.25.73 Chromium: 91.0.4472.106 (Official Build) (64-bit)
Activity
gridstack#1794 fix rem unit size for save+reload
Merge pull request #1847 from adumesny/master
adumesny commentedon Sep 13, 2021
fixed in next release. don't forget to donate if you find this lib useful!