Skip to content

Releases: gridstack/gridstack.js

v6.0.0

21 Aug 23:04
75227e4
Compare
Choose a tag to compare

we now have native support for drag&drop on dekstop and mobile out of the box, no external lib needed and more reliable across browsers (mouse event and touch)

  • converted previous HTML5 draggable=true based code to simple Mouse Events and Touch mobile support for drag&Drop.
  • removed all jquery-ui related code, and D&D plugging as we only support native events now
  • alwaysShowResizeHandle now support 'mobile' which is the default, making it much easier (see doc)
  • changed commit() to be batchUpdate(false) to make it easier to turn batch on/off. updated doc. old API remains for now

v5.1.1

16 Jun 15:15
68be754
Compare
Choose a tag to compare
  • fix v5.1.0 regression #1973 DnD Snap to Animation

v5.1.0

21 May 23:29
c1b5a75
Compare
Choose a tag to compare
  • add GridStack.registerEngine() to let user use their own custom layout engine subclass. Thank you [Thomas] for sponsoring it.
  • grid option minWidth is now oneColumnSize to make it clearer, but old field will still work (JS only) for a while
  • fix #1966 restore animation when dragging items
  • updated jquery-ui to latest v1.13.1

v5.0.0

10 Jan 16:09
3bbad09
Compare
Choose a tag to compare
  • add #992 support dragging into and out of nested grids from parents! Thank you @arclogos132 for sponsoring it.
  • add #1910 new column:'auto' option to size nested grids to their parent grid item column count, keeping items the same size inside and outside. Thank you @arclogos132 for also sponsoring it.
  • fix #1902 nested.html: dragging between sub-grids show items clipped
  • fix #1558 dragging between vertical grids causes too much growth, not follow mouse.
  • fix #1912 no longer force rows for min-height
  • fix #1888 locks up with nested grid when 'column' is set to 1

v4.4.1

24 Dec 16:54
b1b5ffd
Compare
Choose a tag to compare

fix #1901 error introduced for #1785 when re-loading with fewer objects

v4.4.0

21 Dec 16:35
103b4a3
Compare
Choose a tag to compare
  • add #1887 support for IE (new es5 folder) by @SmileLifeIven
  • fix #1785 overlapping items when switching column() and making edits. Thank you @radovanobal for sponsoring it.
  • fix #1890 unhandled exception when dragging fast between grids.

v4.3.1

18 Oct 15:27
333a272
Compare
Choose a tag to compare
  • fix #1868 prevent swap during resize
  • fix #1849 #1816 save highest resolution in 1 column mode
  • fix #1855 resize when padding is large vs cellHeight

v4.3.0

15 Oct 15:24
1828f1a
Compare
Choose a tag to compare
  • you can now swap items of different width if they are the same row/height. Thanks to spektrummedia for sponsoring it.
  • fix #1860 nested grid save inf loop fix
  • use latest dart-sass, updated comments

v4.2.7

13 Sep 01:49
2467bf6
Compare
Choose a tag to compare
  • fix #1817 Enable passing of DragEvent to gridstack dropped event. Thanks @onepartsam
  • fix #1835 Layout incorrectly restored when node has a minimum width. Thanks @hssm
  • fix #1794 addGrid() does not recognize rem cellHeightUnit

v4.2.6

11 Jul 16:48
2527c61
Compare
Choose a tag to compare
  • fix #1784 removable:true working by itself (without needing acceptWidgets:true)
  • fix #1791 removed drag flicker and scroll issue. Thanks @nelsieborja
  • fix #1795 save(false) will no longer have .content field (removed existing one if present)
  • fix #1782 save(false, false) now correctly saves nested grids
  • fix #1793 save(false, true) followed by enable() throws error. we now have new Utils.cloneDeep()