Releases: react-grid-layout/react-resizable
Releases · react-grid-layout/react-resizable
3.1.0
3.1.0 (Dec 30, 2025)
- 🐛 Bugfix: Fix
onResizeStopreporting stale size data due to React's batched state updates. The callback now uses the stored size from the lastonResizecall. #250 - ➕ Feature: React 18 support.
- ✏ Chore: Migrate test suite from Enzyme to React Testing Library. #249
- ✏ Chore: Update
react-draggableto ^4.5.0. - ✏ Chore: Update
react-test-rendererto ^18.
3.0.5
3.0.4
3.0.3
3.0.2
3.0.2 (Jun 8, 2021)
- ✏ Chore: Add documentation for resize handles and fix a mistake where the
handleAxisprop was not being passed to custom components.- See Resize Handles
3.0.1
3.0.0
3.0.0 (May 10, 2021)
Breaking
- 🐛 Bugfix: Fixed handling of the
nodeRefthat needs to be passed to<DraggableCore>to avoid use of ReactDOM. This means that vanilla usage ofreact-resizableno longer requires ReactDOM. No code changes are needed in the usual case, except:- React
>= 16.3is required due to use ofReact.createRef(), and - The
handleprop now sends aReactRef<HTMLElement>as its second argument and expects it to be used on your returned component.- If you do not attach the
ref, you will receive the following error:"<DraggableCore> not mounted on DragStart!"This is due to the ref being present but not attached to any node.
- If you do not attach the
- React
1.11.1
1.11.0
1.11.0 (Sep 3, 2020)
- ⚠ Important Notice!
- React-Resizable 2.0.0 was published due to a breaking change in
propshandling. This change ended up actually completely breaking certain workflows, for the dubious benefit of making the code slightly simpler to add to. The breaking change has been reverted, 2.0.0 is now deprecated, and we will continue on the 1.x branch. Future breaking changes toreact-resizablewill upgrade the major version to3.
- React-Resizable 2.0.0 was published due to a breaking change in
- ➕ Feature:
<ResizableBox>now takes astyleprop which will be applied on the wrapping<div>.widthandheightin this prop are ignored. - 🐛 Bugfix: remove unknown Prop
handlefrom div children in ResizableReact.cloneElement. #124 - 🐛 Bugfix: Fix top and left resizing jerkiness. Thanks @conor-kelleher. #136
- ✏ Chore: Improved test suite. Please contribute tests for your use cases if you have the time, I would really appreciate it! Thanks very much, @Danielecina
- ✏ Chore: Minor internal refactors and additional tests.
- ✏ Chore: Additional examples.