All Versions
91
Latest Version
Avg Release Cycle
64 days
Latest Release
942 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.3.4 Changes
February 21, 2022๐ Bugfixes
- โ Add
e.stopPropagation()
on drag events to better support nested grids. Thanks @rogerfar #1494.
Internal Changes
- โฌ๏ธ Various dependency upgrades.
- โ Add
-
v1.3.3 Changes
January 24, 2022๐ This was a quick release to improve package size and dependency use. Thanks @salvoravida #1655
๐ Bugfixes
- โ Removed
coverage/
folder from npm package to save size - ๐ Moved eslint parser to
devDependencies
- โ Removed
-
v1.3.2 Changes
January 24, 2022Internal Changes
- ๐ฆ Package size reduced by ~30% by removing source in
dist/
source maps. - โ Various tests added (thanks @imagineLife!)
- ๐ New GitHub Actions flow for PRs
- ๐ฆ Package size reduced by ~30% by removing source in
-
v1.3.1 Changes
November 29, 2021๐ Bugfixes
- ๐ Fix
allowOverlap
not firingonLayoutChange()
. #1620- This was due to a short-circuiting of internal logic that did not properly clone the
layout
prop.
- This was due to a short-circuiting of internal logic that did not properly clone the
Internal Changes
- ๐ฆ Replace
classnames
withclsx
for smaller package size. (#1543)
- ๐ Fix
-
v1.3.0 Changes
August 27, 2021๐ New Features
allowOverlap
prop, whentrue
, allows overlapping grid items. #1470- โ Add
onDropDragOver
callback. #1395- Use this callback to dynamically adjust the
droppingItem
based on what is being dragged over. Returnw
andh
to adjust the item. It is then spread into the dropping placeholder. - This callback has the type:
onDragOver: (e: DragOverEvent) => { w: number, h: number } | false;
- Return
false
to short-circuit the dragover.
- Use this callback to dynamically adjust the
๐ Bugfixes
- โ Remove sorting when
compactType
isnull
. #1474 - โฌ๏ธ Droppable fixes for Chrome behavior. #1442 #1448
- ๐ Allow
null
children as a convenience so that inline expressions don't break the library. #1296 - โฌ๏ธ Various dependency upgrades.
๐ Documentation
- โ Add docs on using custom components as grid children.
- Note required class on resizable handles for proper styling.
-
v1.2.5 Changes
May 10, 2021๐ Bugfixes
- Ensure no negative positions are possible when compacting
- ๐ Fix resizing on mobile. This was caused by the
ref
refactor to remove ReactDOM in 1.2.3.- Fixes #1458
- Note: this upgrades
react-resizable
to3.0.1
, which like our other deps, is only compatible withReact@>=16.3
.
๐ Documentation
- Document new arity of
resizeHandle
((axis: ResizeHandleAxis, ref: ReactRef<HTMLElement>) => React$Element
) - โ Remove references to the deprecated
verticalCompact
prop
-
v1.2.4 Changes
March 18, 2021๐ This version fixes a serious render bug in
<WidthProvider>
. 1.2.3 should not be used.๐ Bugfixes
-
v1.2.3 Changes
March 16, 2021๐ New Features
- React-Grid-Layout is now fully compatible with
<React.StrictMode>
.- Usage of
ReactDOM
has been removed by usingReact.createRef()
inside RGL, and the newnodeRef
prop inreact-draggable
.
- Usage of
- React-Grid-Layout is now fully compatible with
-
v1.2.2 Changes
March 01, 2021๐ Bugfixes
- ๐
onResize
as changed in 1.2.1 did not correctly save the layout. This is now fixed.- As you might guess, we need more test coverage! PRs are very welcome, I'll buy you beers on Cashapp or Patreon or whatever you like.
- ๐
-
v1.2.1
March 01, 2021