Releases: gridstack/gridstack.js
Releases · gridstack/gridstack.js
9.4.0
- revert #2263 div scale support - causing too many issues for now (#2498 #2497 #2491)
- fix #2492 calling load() allows overlapping widgets
v9.2.2
- fix - sub-grid styles now look for immediate correct parent, not any depth above.
- fix #2469 "Invalid height" error CSS minHeight
- fix #2394 nested grid size issue when sub-items moved up/down
v9.2.1
- fix _updateContainerHeight() to use height rather than min-height again (apart for nested grids which need it) and partial getComputedStyle CSS minHeight support
v9.2.0
- feat: nested grids now support
sizeToContent
to size themselves to how many sub items they contain - Thank you @Helix for sponsoring this!
- fix #2449 full grid maxRow fix
v9.1.1
- fix #2435 directionCollideCoverage() tweaks
- fix resizeToContent() to handle node.h (using when cellHeight changes or we resize) vs DOM sizing (rest of the time)
v9.1.0
- renamed fitToContent to sizeToContent (API BREAK)
- feat:
sizeToContent
now supports being boolean|number
to limit the height but user can resize past that, unlike maxH.
- feat:
resizeToContentParent
now on GridStackWidget as well as globally for those widgets that need to resize differently.
v9.0.2
- fix 'resizecontent' event fix not called.
- partial fix #2427 fitToContent when calling cellHeight()/addWidget()/MakeWidget()
v9.0.0
- feat #404 added
GridStackOptions.fitToContent
and GridStackWidget.fitToContent
to make gridItems size themselves to their content (no scroll bar), calling GridStack.resizeToContent(el)
whenever the grid or item is resized.
- also added new
'resizecontent'
event, and resizeToContentCB
and resizeToContentParent
vars.
- fix #2406 inf loop when autoPosition after loading into 1 column, then 2.