Skip to content

Releases: gridstack/gridstack.js

v7.2.1

14 Jan 22:11
b1a0ebe
Compare
Choose a tag to compare
  • fix #2162 removing item from a grid (into another) will now call change if anything was also modified during the remove
  • fix #2110 custom GridStackOptions.itemClass now works when dragging from outside

v7.2.0

08 Jan 02:13
6836f07
Compare
Choose a tag to compare
  • fix #1936 some styles left behind after a drag
  • remove #1842 incorrect doc/partial code on widget resizeHandles
  • doc #2033 resizestop is actually correct as we don't animate resize today
  • add - init()|initAll() will now load any listed children (what addGrid() already did)
  • add - GridStackOptions.addRemoveCB which is use by frameworks (eg Angular) to dynamically create their gridItem components instead of regular div with class

v7.1.2

29 Dec 23:59
5dc62fe
Compare
Choose a tag to compare
  • fix #939 'prototype' undefined error for dd-gridstack.js
  • add #939 disable/enable are methods now recursive by default
  • add better GridStackEventHandlerCallback spelled out types
  • add We now have support for Angular Component wrappers out of the box included in the build, with docs and demo! Need help to do that for React and Vue.

v7.1.1

13 Nov 15:03
daddce8
Compare
Choose a tag to compare
  • fix #939 editable elements focus (regression in v6). Thank you @Gezdy

v7.1.0

23 Oct 16:10
4770858
Compare
Choose a tag to compare
  • back to MIT license in package.json
  • add GridStackEngine.findEmptyPosition()
  • fixed #2081 removeWidget() after it's gone from DOM
  • fixed #1985 addWidget() or DOM read in single column mode will not adjust to multi column mode
  • fixed #1975 oneColumnModeDomSort not respected when loading in 1 column

v7.0.1

14 Oct 14:46
af8780d
Compare
Choose a tag to compare
  • fixed #2073 SSR (server side rendering) isTouch issue (introduced in v6)
  • fixed - removing last item delete sub-grid that are not auto-generated (nested.html vs nested_advanced.html)

v7.0.0

09 Oct 16:19
82d15f2
Compare
Choose a tag to compare
  • add #1009 Create sub-grids on the fly,
    by dragging items completely over others (nest) vs partially (push) using new flag GridStackOptions.subGridDynamic=true.
    Thank you [StephanP] for sponsoring it.

    See advance Nested
  • add - ability to pause drag&drop collision until the user stops moving - see DDDragOpt.pause (used for creating nested grids on the fly based on gesture).
  • add #1943 you can now drag sub-grids into other sub-grids

v6.0.3

09 Oct 00:21
db36da5
Compare
Choose a tag to compare
  • fixed #2055 maxRow=1 resize outside (broke in 6.0.1)
  • fixed #2054 Can't enter text in textarea/input (broke in v6)

v6.0.2

23 Sep 15:06
7bd6472
Compare
Choose a tag to compare
  • fixed #2034 removeWidget() breaking resize handle feedback
  • fixed #2043 when swapping shapes in maxRow grid, make sure we still check for 50% coverage

v6.0.1

28 Aug 01:51
b02f9a8
Compare
Choose a tag to compare
  • fixed float(val) to set on grid and engine, so save() will read it.
  • fixed #2018 mouseover and React different behavior
  • fixed getting nested grid resize handles while dragging child