- ⚠ 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 toreact-resizable
will upgrade the major version to3
.
- React-Resizable 2.0.0 was published due to a breaking change in
- ➕ Feature:
<ResizableBox>
now takes astyle
prop which will be applied on the wrapping<div>
.width
andheight
in this prop are ignored. - 🐛 Bugfix: remove unknown Prop
handle
from 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.
Note: 1.10.0 was a mis-publish.
- 🐛 Bugfix: Fix resize with north/south handles when
lockAspectRatio=true
#106 - ✏ Chore: Remove deprecated React 16.9 lifecycle methods (
componentWillReceiveProps
) (https://github.com/STRML/react-resizable/pull/112/commits/541dee69b8e45d91a533855609472b481634edee) - ✏ Chore: Upgrade to babel 7
- ✏ Chore: Remove unused state inside
<Draggable>
. This has not been needed for quite some time, fixes some bugs and improves performance.
- ➕ Feature: Added support for custom resize handles #79
- ➕ Feature: Added support for resize handles on all corners #191
- ✏ Chore: Support for React 16 (no changes required, updated
peerDependencies
) - ✏ Chore: Minor dep updates.
- ✏ Chore: Minor Flow & dependency updates.
- 🐛 Bugfix: React deprecation warnings from
import *
- ✏ Chore: Pkg: Add
[email protected]
to version range.- This package is compatible with both
@2
and@3
versions.
- This package is compatible with both
- 🐛 Bugfix: Some flow types were improperly specified.
- ⚠ Deprecation:
React.PropTypes
now deprecated in React 15.5, moved toprop-types
package - ✏ Chore: Update devDeps, upgrade to webpack 2
- ✏ Chore: Remove babel
stage-1
andtransform-flow-comments
, bring in only selected plugins, makes for leaner dev/build.
- ➕ Feature: Allow restricting by axis. (#40, thanks @dnissley-al)
- 🐛 Bugfix: Persist SyntheticEvents when needed (#45, #46)
- ➕ Feature: Add componentWillReceiveProps to
<ResizableBox>
(#44, thanks @JoaoMosmann)
- ✏ Chore: Removed unused ref from
<Resizable>
. - ✏ Chore: Added development lockfile.
- 🐛 Bugfix: Fix bad publish
- 🐛 Bugfix: Minor flow errors
- 🐛 Bugfix: Don't pass
onResize
in<ResizableBox>
. - 🐛 Bugfix: Fix new Flow errors (type parameters no longer optional).
- 🐛 Bugfix: Don't pass unknown props to underlying DOM element. Fixes React 15.2.0 warnings.
- 🐛 Bugfix: Resizable handle should have a
key
when injected. Fixes React warnings on custom components.
- ✏ Chore: Update to React-Draggable v2, which changed callback data structure.
- 🐛 Bugfix: Slack was not being reset on resizeStop. Fixes #34, #36.
- ✏ Chore: Added
flow-bin
to devDeps.
- ➕ Feature: Add Flow comments.
- 🐛 Bugfix: Prevent
width
andheight
from leaking to the underlying DOM element and being written.
- ✏ Chore: Allow React v15 in peerdeps.
- 🐛 Bugfix: Switch to ES2015 Loose Mode to fix IE9/10 issues.
- 🐛 Bugfix: Flow typing fixes.
- 🐛 Bugfix: Styling fixes to the demo page.
Changes before 1.3.0 were not logged. Please see the git commit history.