Skip to content

Releases: gridstack/gridstack.js

v4.2.4

29 May 15:02
5c659c9
Compare
Choose a tag to compare
  • fix #1760 removable:true working again (broke in 4.x)
  • fix #1761 staticGrid(false) will now enable drag in behavior (if set)
  • fix #1767 locked item can be user moved/resized again, just not pushed by other nodes (broke in 1.1.1)
  • fix #1764 destroy(false) can now re-init properly (doesn't force static grid)

v4.2.3

08 May 14:58
83fce6c
Compare
Choose a tag to compare
  • Utils.getScrollParent() -> getScrollElement() rename
  • fix #1745 digression on scrolling in v4.2.1. Thanks @Manfred-on-github for fixing your prev change.

v4.2.2

23 Apr 18:14
5c0f616
Compare
Choose a tag to compare

v4.2.1

18 Apr 16:38
860b844
Compare
Choose a tag to compare
  • fix #1700 JQ nested grid drag fix broken in 4.0.3 (but much older underlying issue)
  • fix #1678 item gs-x:0 not animating fix
  • fix #1727 resize-scroll issue when grid is not at top of page. Thanks @Manfred-on-github
  • fix #1728 fix sizing from top/left sides

v4.2.0

11 Apr 16:48
0f6226c
Compare
Choose a tag to compare
  • fix #1704 scrollbar fix broken in 4.x
  • fix #1655 addWidget() while in 1 column now remembers original wanted width
  • add #1682 addWidget() now supports nested grids like init/addGrid() does.

v4.1.0

07 Apr 14:39
43fded5
Compare
Choose a tag to compare
  • fix #219 fixing another 6 years old request we now automatically insert extra rows
    when dragging an item at the bottom below others to make it easier to insert below.
  • fix #1687 more fix for drag between 2 grids with row / maxRow broken in 4.x
  • fix export symbols .d.ts for gridstack-h5.js | gridstack-jq.js | gridstack-static.js
  • fix #1709 correct info for using JQ version and ES6 (tested in Angular app)

v4.0.3

29 Mar 04:09
42f0d06
Compare
Choose a tag to compare
  • fix #1693 load after init() broken in 4.x
  • fix #1687 drag between 2 grids with row / maxRow broken in 4.x
  • fix #1676 drag edge case in/out single grid without acceptWidgets fix broken in 4.x

v4.0.2

28 Mar 04:20
9927e2a
Compare
Choose a tag to compare
  • fix #1679 Resizable: {handles:'w/sw'} work again in 4.x
  • fix #1658 enableMove(T/F) not working correctly
  • fix helper: myFunction now working for H5 case for dragInOptions & setupDragIn()
  • fix prevent addGrid() from creating nested div grid if container already is a '.grid-stack' div

v4.0.1

20 Mar 17:40
e094ff9
Compare
Choose a tag to compare
  • fix #1669 JQ resize broken
  • fix #1661 serialization of nested grid

v4.0.0

20 Mar 06:22
60d66c7
Compare
Choose a tag to compare
  • fix #149 #1094 #1605 #1534 re-write of the collision code - fixing 6 years old most requested request
  1. you can now swap items of the same size (vertical/horizontal) when grid is full, and is the default in float:false (top gravity) as it feels more natural. Could add Alt key for swap vs push behavior later.
  2. Dragging up and down now behave the same (used to require push WAY down past to swap/append). Also much more efficient collision code.
  3. handle mid point of dragged over items (>50%) rather than just a new row/column and check for the most covered item when multiple collide.
  • fix #393 #1612 #1578 re-write of the drag in/out code - fixing 5 years old bug
  1. we now remove item when cursor leaves (acceptWidgets case using dropout event) or shape is outside (re-using same method) and re-insert on cursor enter (since we only get dropover event). Should not be possible to have 2 placeholders which confuses the grids.
  2. major re-write and cleanup of the drag in/out. Vars have been renamed and fully documented as I couldn't understand the legacy buggy code.
  3. removed any over trash delay feedback as I don't see the point and could introduce race conditions.
  • fix 1617 FireFox DOM order issue. Thanks @marcel-necker
  • fix changing column # column(n) now resizes cellHeight:'auto' to keep square
  • add 1616 drag | resize events while dragging. Thanks @MrCorba
  • add 1637 GridStack.setupDragIn() so user can update external draggable after the grid has been created