Skip to content

Releases: gridstack/gridstack.js

v9.2.1

21 Sep 01:37
58589d2
Compare
Choose a tag to compare
  • 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

10 Sep 19:11
ce38609
Compare
Choose a tag to compare
  • 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

06 Sep 16:41
750fc01
Compare
Choose a tag to compare
  • 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

04 Sep 23:45
5f6cdcf
Compare
Choose a tag to compare
  • 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

30 Aug 00:04
31a4b12
Compare
Choose a tag to compare
  • fix 'resizecontent' event fix not called.
  • partial fix #2427 fitToContent when calling cellHeight()/addWidget()/MakeWidget()

v9.0.1

27 Aug 16:30
cb343b3
Compare
Choose a tag to compare

v9.0.0

23 Aug 21:17
2bd203a
Compare
Choose a tag to compare
  • 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.

v8.4.0

20 Jul 22:49
6c5fb3a
Compare
Choose a tag to compare
  • feat #2378 attribute DDRemoveOpt.decline to deny the removal of a specific class.
  • fix: dragging onto trash now calls removeWidget() and therefore GridStack.addRemoveCB (for component cleanup)
  • feat: load() support re-order loading without explicit coordinates (autoPosition or missing x,y) uses passed order.

v8.3.0

13 Jun 20:37
561c64a
Compare
Choose a tag to compare

feat #2358 column(N, 'list'|'compact'|...) resizing and compact('list'|'compact') now support reflowing content as list

v8.2.3

12 Jun 05:06
e7e2851
Compare
Choose a tag to compare

fix #2349 grid NoMove vs item NoMove support
fix #2352 .ui-draggable-dragging z-index for modal dialogs
fix #2357 NaN inf loop when using cellHeight rem/em
fix #2354 max-w cloning issue fix