npm / react-grid-layout
react-grid-layout
What changed in react-grid-layout 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
2 breaking2 new APIs and options1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-grid-layout 15 changes
Breaking changes 2
Node 8 compatibility and testing have been dropped.
The callback now receives (layout, item, e) instead of elemParams.
New APIs and options 2
Adds a prop to expose a ref for the grid layout's outer div.
Adds a property to prevent dragging items outside of the grid.
Fixes and other changes 1
Fixes grid items getting stuck using percentages on first render.