Releases: gridstack/gridstack.js
Releases · gridstack/gridstack.js
v4.2.4
- 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
v4.2.2
v4.2.1
v4.2.0
v4.1.0
- 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
v4.0.2
v4.0.1
v4.0.0
- fix #149 #1094 #1605 #1534 re-write of the collision code - fixing 6 years old most requested request
- 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. - Dragging up and down now behave the same (used to require push WAY down past to swap/append). Also much more efficient collision code.
- 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.
- we now remove item when cursor leaves (
acceptWidgets
case usingdropout
event) or shape is outside (re-using same method) and re-insert on cursor enter (since we only getdropover
event). Should not be possible to have 2 placeholders which confuses the grids. - 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.
- 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 resizescellHeight:'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