Skip to content

Releases: gridstack/gridstack.js

v12.3.1

12 Aug 00:01
8da8190
Compare
Choose a tag to compare
  • fix: #2493 added save(columnCount) option. Nested grid now use container saved column count.

v12.3.0

10 Aug 23:58
5ab78e0
Compare
Choose a tag to compare
  • feat: #3047 added .grid-stack-dragging to grid when child is being dragged so we can set cursor:grabbing. Updated demo.
  • feat: now using typedoc to generate doc (HTML and markup) from code. improved code examples and comments.
  • fix: #3099 scroll take into account ScrollContainer position
  • fix: #3102 React demo now support multiple grids
  • fix: #3021 correctly reset widget back (to last known position) when released outside

v12.2.2

07 Jul 01:04
dd8f19c
Compare
Choose a tag to compare
  • fix: #3070 incorrect property name 'sizeToContent' when cleaning up invalid attributes
  • fix: #3077 incorrect node._id check
  • fix: #3054 Avoid reflows via explicitly setting minRow
  • fix: #3085 opts.minRow being updated

v12.2.1

28 May 15:27
a596e20
Compare
Choose a tag to compare

feat: #3061 added GridStack.updateCB(w) that gets called after a widget has been updated (eg: load() after initial layout) instead of created

v12.1.2

07 May 21:29
61a39c3
Compare
Choose a tag to compare
  • fix #3043 fix opts.animate again
  • fix #3048 nested grid resizeToContentCBCheck() fix

v12.1.1

28 Apr 17:35
3517210
Compare
Choose a tag to compare
  • fix #3038 updateOptions() fix opts.minRow being undefined

v12.1.0

24 Apr 01:34
5fc9b85
Compare
Choose a tag to compare
  • feat #2671 subgrid now propagate events to topmost grid. Use el.gridstackNode.grid to know which (sub) grid.
  • fix #3028 updateOptions() no longer modifies passed in struct. only field we check are being handled too.
  • fix #3029 resizeToContent() fix for nested grid with content above
  • fix #3030 resizeToContentCheck() wasn't blocking _ignoreLayoutsNodeChange at end of the loop
  • rem #3022 removed ES5 support (IE doesn't support CSS vars needed now)
  • rem #3027 remove legacy code support for disableOneColumnMode, oneColumnSize, oneColumnModeDomSort

v12.0.0

13 Apr 01:27
5050b0c
Compare
Choose a tag to compare
  • feat: #2854 Removed dynamic stylesheet and migrated to CSS vars. Thank you lmartorella
  • feat: #3013 columns no longer require custom classes nor gridstack-extra.css as we now use CSS vars.
  • fix: #2978 Very slow operation in 11.2.0 and higher with large blocks
  • fix: #2947 loading responsive layout:'list' into smaller screen doesn't layout correctly.

v11.5.0

17 Mar 01:06
1223c65
Compare
Choose a tag to compare
  • feat: #2975 prepareDragDrop(el, force) option to force re-creation of the drag&drop event binding
  • feat: #2989 new updateOptions(o: GridStackOptions) to update PARTIAL list of options after grid as been created
  • fix: #2980 dd-touch circular dependency
  • fix: #2667 sidebar items not honoring gs-w (enter-leave-re-enter)
  • fix: #2987 gs-size-to-content to support numbers
  • fix: #2981 Locked not working as expected

v11.4.0

27 Feb 19:49
6730ccd
Compare
Choose a tag to compare
  • fix: #2921 replace initMouseEvent with MouseEvent constructor and added composed: true
  • fix: #2939 custom drag handle not working with LazyLoad
  • fix: #2955 angular circular dependency
  • fix: #2951 shadow DOM dragging re-appending fix
  • fix: #2964 minW larger than column fix
  • feat: #2965 internal _prepareDragDropByNode(n) is now public as prepareDragDrop(el) so Angular, React, and others can call once the DOM content elements have been added (the outside grid item divs are always created before content)

Possible breaking (unlikely)

  • break: #2959 Util.createWidgetDivs() has moved to grid.createWidgetDivs() to remove circular dependencies