react-grid-layout/react-resizable
 Watch   
 Star   
 Fork   
13 days ago
react-resizable

3.1.0

3.1.0 (Dec 30, 2025)

  • 🐛 Bugfix: Fix onResizeStop reporting stale size data due to React's batched state updates. The callback now uses the stored size from the last onResize call. #250
  • ➕ Feature: React 18 support.
  • ✏ Chore: Migrate test suite from Enzyme to React Testing Library. #249
  • ✏ Chore: Update react-draggable to ^4.5.0.
  • ✏ Chore: Update react-test-renderer to ^18.
2023-03-21 23:15:14
react-resizable

3.0.5

3.0.5 (Mar 21, 2023)

  • 🐛 Bugfix: Make width and height conditionally required if an axis is set. See #196
  • ✏ Chore: Minor dependency upgrades.
  • ✏ Chore: Fix documentation of onResize callback arity.
2021-06-15 21:32:50
react-resizable

3.0.4

3.0.4 (Jun 15, 2021)

  • 🐛 Bugfix: Fix incorrect fix for handleAxis on DOM elements. #175
  • ✏ Chore: Upgrade dependencies.
2021-06-15 09:17:18
react-resizable

3.0.3

3.0.3 (Jun 14, 2021)

  • 🐛 Bugfix: Remove unknown prop handleAxis making it to DOM elements, causing a warning in dev.
  • ✏ Chore: Rewrote lockAspectRatio logic to be more accurate and shorter.
2021-06-09 09:17:40
react-resizable

3.0.2

3.0.2 (Jun 8, 2021)

  • ✏ Chore: Add documentation for resize handles and fix a mistake where the handleAxis prop was not being passed to custom components.
2021-05-10 23:38:56
react-resizable

3.0.1

3.0.1 (May 10, 2021)

  • ✏ Chore: Reduce package size through .npmignore.
2021-05-10 23:36:10
react-resizable

3.0.0

3.0.0 (May 10, 2021)

Breaking

  • 🐛 Bugfix: Fixed handling of the nodeRef that needs to be passed to <DraggableCore> to avoid use of ReactDOM. This means that vanilla usage of react-resizable no longer requires ReactDOM. No code changes are needed in the usual case, except:
    • React >= 16.3 is required due to use of React.createRef(), and
    • The handle prop now sends a ReactRef<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.
2021-03-06 05:07:48
react-resizable

1.11.1

1.11.1 (Mar 5, 2021)

  • ✏ Chore: Added React 17 to peerDependencies.
2020-09-04 01:12:31
react-resizable

1.11.0

1.11.0 (Sep 3, 2020)

  • ⚠ Important Notice!
    • React-Resizable 2.0.0 was published due to a breaking change in props handling. 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 to react-resizable will upgrade the major version to 3.
  • ➕ Feature: <ResizableBox> now takes a style prop which will be applied on the wrapping <div>. width and height in this prop are ignored.
  • 🐛 Bugfix: remove unknown Prop handle from div children in Resizable React.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.
2019-11-25 23:49:48
react-resizable

1.10.1

1.10.1 (Nov 25, 2019)

Note: 1.10.0 was a mis-publish.

  • ➕ Feature: Add transformScale prop #115
  • 🐛 Bugfix: Resolve getDerivedStateFromProps dev warning #117