Releases: gridstack/gridstack.js
Releases · gridstack/gridstack.js
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
v3.3.0
- big re-write on how
cellHeight()
works. you can now call it at any time (not just grid init options) including switching to 'auto' or other modes on the fly. - fix
cellHeight:auto
now keeps cell square as window resizes (regressing from 2.x TS conversion).Utils.throttle()
works better too (guaranteed to be called last event) - new
cellHeight:initial
which makes the cell squares initially, but doesn't change as windows resizes (better performance) - new grid option
cellHeightThrottle
(100ms) to control throttle of auto sizing triggers - fix 1600 height too small with
cellHeight:auto
loading in 1 column. Now detect we load at 1 column and size accordingly (default 'auto' could make big 700x700 cells, so explicit px might still be wanted) - fix 1538 loading nested into small size and sizing back up
- fix 1604 nested grid resizing fix
- fix 1599 H5 resize from left side can move item right