- Fixes resizable field always being null in React 18.3.
- Fixed a bug, onResize fired before snapping to grid #783
- improve
enable
type.
- use native
endsWith
. - remove
fast-memoize
.
- use
flushSync
in mouseMove.
- add
react
andreact-dom
to peer deps.
π Bug Fix: Fixed a bug, calculate parent height even when the parent is a flex container #765
π Bug Fix: Fixed a bug, lockAspectRatio
is not work when snap
is set. #759
- Fixed a issue, using CTRL when resizing doesn't work #747
- Feature: boundsByDirection #689
- Fixed a bug, resize is not work when set
xxxpx
to max/min width/height
- Fixed a bug, a base element is removed even though there are other resizable components. (#667)
- Expose
NumberSize
.
- fix: instanceof check fails when window is a proxy (#659)
- Fixed a bug, when touched in mobile some execption throwed.
- Fixes #522 - Resize without page scrolling on mobile
- Make
as
optional
- Fix ES Module Output #634
- Support the "as" prop to change the wrapper #614
- Avoid a useless re-render #587
- Makes the component window agnostic, which means that the component can be run inside an iframe. (#598)
- Fixed a bug, resizing does not work when flex-basis set.
- Fixed a bug,
Handle loses mouse as edge gets further away from other side #537
- Improve perf #529
- Support
vh
andvw
for max size #526
- Fix deprecated componentWillRecieveProps lifecycle method usage #504
- Feature request: Allow early exiting for onResizeStart #494
- use
PureComponent
Please see also 5.0.0-beta.0 change.
- Add
snapGap
property #446
- Upgrade some deps.
- Use typeScript instead of flowtype in [#413]
- Improve some perf.
- Support
vw
andvh
. Please see story.
- Support only named import. Please import like following.
import { Resizable } from 're-resizable';
- Extract LICENSE from README file (@MichaelDeBoey in #397)
- Extract CHANGELOG from README file (@MichaelDeBoey in #397)
- Update
react
&react-dom
tov16.7.0
(#395)
- Add
resizeRatio
prop (@martinmcneela in #391 & @bokuweb in 31ce82b2)
- Update
npm-run-all
tov4.1.5
(#389) - Update
react
&react-dom
tov16.6.3
(#387) - Update
sinon
tov7.2.2
(#393) - Update
rollup-plugin-node-resolve
tov4.0.0
(#392) - Update
flow-bin
tov0.89.0
(#385) - Update
prettier
tov1.15.3
(#386)
- Update
react
&react-dom
tov16.6.1
(#384) - Update
prettier
tov1.15.1
(#383) - Update
sinon
tov7.1.1
(#379) - Update
flow-bin
tov0.85.0
(#378) - Update
eslint-plugin-flowtype
tov3.2.0
(#375) - Update
rollup-plugin-node-globals
tov1.4.0
(#344)
- Don't add
px
when settingscale
toauto
(@jrainville in #382 & @bokuweb in 62254a2b)
- Update
sinon
tov7.1.0
(#373) - Update
react
&react-dom
tov16.6.0
(#371) - Update
gh-pages
tov2.0.1
(#352) - Update
flow-bin
tov0.84.0
(#342)
- Fix initial left position of element for Safari (@jnelson180 in #374 & @bokuweb in 54d86200)
- Update
eslint-plugin-jsx-a11y
tov6.1.2
(#363) - Update
react
&react-dom
tov16.5.2
(#357) - Update
rollup-plugin-commonjs
tov9.2.0
(#356) - Update
@βstorybook/addon-info
&@βstorybook/react
tov3.4.11
(#355)
- Add defaultStyle to default-size stories (@liorbentov in #361)
- Update
rollup
tov0.65.2
(#347) - Update
react
&react-dom
tov16.5.1
(#350) - Update
sinon
tov7.0.0
(#368) - Update
eslint-plugin-flowtype
tov3.0.0
(#367) - Update
rollup-plugin-replace
tov2.1.0
(#365) - Update
rollup-plugin-replace
tov10.0.1
(#360) - Update
prettier
tov1.14.3
(#359)
- Update
rollup
tov0.65.0
(#339) - Update
rollup-plugin-commonjs
tov9.1.6
(#338) - Update
react
&react-dom
tov16.5.0
(#348) - Update
sinon
tov6.3.1
(#345)
- Update
flow-bin
tov0.79.1
(#336) - Update
sinon
tov6.1.5
(#327) - Update
rollup-plugin-babel
tov3.0.7
(#305) - Update
rollup
tov0.64.1
(#296)
- Add absolute snap dimensions (@therebelrobot in #337 & @bokuweb in e9f0df99)
- Change
Greenkeeper
badges toRenovate
in README (@bokuweb in 7903d50e) - Fix
ResizeCallback
types in README (@mdanka in #325)
- Update
prettier
tov1.14.2
(#311, #312 & #329) - Update
flow-bin
tov0.78.0
(#298, #320, #326 & #332) - Update
@βstorybook/addon-info
&@βstorybook/react
tov3.4.10
(#297 & #331) - Update
flow-copy-source
tov2.0.2
(#313 & #324) - Update
sinon
tov6.1.3
(#309, #314 & #317) - Update
eslint-plugin-react
tov7.11.1
(#310, #334 & #335) - Update
eslint-plugin-import
tov2.14.0
(#308 & #333) - Update
prettier-eslint
tov8.8.2
(#301) - Update
eslint-plugin-jsx-a11y
tov6.1.1
(#315 & #323) - Update
babel-eslint
tov8.2.6
(#302 & #322) - Update
flow-typed
tov2.5.1
(#318) - Update
eslint-plugin-flowtype
tov2.50.0
(#321) - Update
react
&react-dom
tov16.4.2
(#330) - Update
rollup-plugin-commonjs
tov9.1.5
(#328)
Note: this release has a critical issue and was deprecated. Please update to 4.6.1 or higher.
Note: this release has a critical issue and was deprecated. Please update to 4.6.1 or higher.
- Update
rollup
tov0.61.0
(#290 & #295) - Update
@βstorybook/addon-info
&@βstorybook/react
tov3.4.7
(#288) - Update
prettier
tov1.13.5
(#285) - Update
sinon
tov6.0.0
(#289) - Update
flow-copy-source
tov2.0.0
(#280) - Update
eslint-plugin-react
tov7.9.1
(#279) - Update
avaron
tov0.2.0
(#300)
- Update
react
&react-dom
tov16.4.1
(#291)
- Drop Node 6/7 support in CI (@bokuweb in 1b6480cf)
- Update
flow-bin
tov0.74.0
(#284) - Update
sinon
tov5.1.0
(#282) - Update
rollup
tov0.60.1
(#281)
- Update
sinon
tov5.0.10
(#223, #227, #251, #252, #254 & #268) - Use specific Docker image in CI (#225)
- Update
flow-bin
tov0.73.0
(#226, #242, #247, #258 & #271) - Update
react
&react-dom
tov16.4.0
(#228, #231, #241 & #269) - Update
eslint-plugin-import
tov2.12.0
(#229, #236 & #264) - Update
@βstorybook/addon-info
&@βstorybook/react
tov3.4.6
(#230, #233, #244, #249, #261, #265 & #272) - Update
prettier
tov1.13.4
(#235, #243, #273, #275 & #276) - Update
rollup-plugin-babel
tov3.0.4
(#246) - Update
rollup
tov0.59.4
(#240, #263, #266 & #270) - Update
eslint-plugin-flowtype
tov2.49.3
(#239, #267 & #277) - Update
rollup-plugin-commonjs
tov9.1.3
(#250) - Update
babel-eslint
tov8.2.3
(#237) - Update
rollup-plugin-node-globals
tov1.2.1
(#255) - Update
npm-run-all
tov4.1.3
(#253) - Update
babel-preset-env
tov1.7.0
(#259) - Update
eslint-plugin-react
tov7.8.2
(#260 & #262) - Update
gh-pages
tov1.2.0
(#278)
- Update
sinon
tov4.4.9
(#221)
- chore: upgrade flow-bin
- fix: base finder
- fix: add mouse leave
- fix: fix type issues in index.d.ts.
- fix: fixed bug where base could not be found
- fix: add guard to avoid error without parent
- fix: bug behavior with flex layout
- chore: refactor
- chore: update deps
- chore: update d.ts
- chore: add some stories
- Fixed a bug, when resizing sometimes causes text-selection in some browser #182
- Fixed a bug,
auto
overwritten by px value #179
- Allow 0 as minWidth and minHeight #178
- Add a option for passing custom handle components #170
- Fixed a bug, Text select while resizing in IE11 #166
- Fixed a bug, Element width id="__resizable0" breaks my layout #162
- Additional height and width with lockAspectRatio #163
- Use ES5-compatible prototype methods #160
- Fix using right click on resize #152
- Add workaround when base Node not found.
- Update index.d.ts, Fixes #153
- Remove
width
andheight
. - Add
defaultSize
andsize
,
- Fix flowtype annotation.
- Remove
extendsProps
.
You can add extendsProps as follows.
<Resizable data-foo="foo" />
- fix typo.
ResizeStartCallBack
->ResizeStartCallback
.
- export
ResizeDirection
type. - rename
Callback
toResizeCallback
.
- Fix flow filename.
- Change logo
- Change package name,
react-resizable-box
->re-resizable
. - Add
handleWrapperStyle
andhandleWrapperClass
props. - Change behavior that is set percentage size to width or height as props.
- Support percentage max/min size.
- Use rollup.
- Fix props name.
handersClasses
->handleClasses
handersStyles
->handleStyles
- Remove
shouldUpdateComponent
(#135). - Remove
lodash.isEqual
.
- Update README.
- Fix remove event listener
- Fix receiveProps. (related #85)
- Update dev dependencies.
- Modify index.js.flow.
- Remove offset state.
- Use
border-box
. - Fix boundary size.
- Add offset state for rnd component.
- Update index.js.flow
- Use
flowtype
. - Change callback args.
- Change some props name.
- isResizable => enable.
- customClass => className.
- customStyle => style.
- handleStyle => handlerStyles.
- handleClass => handlerClasses.
- Add bounds feature.
- Fix min/max size checker when aspect ratio locked.
- Fix cursor
- Fix npm readme
- Add index.d.ts.
- Fix resize glitch when aspct ratio locked.
- Fixing issue on resizing with touch events
- Add
extendsProps
prop to other props (e.g.data-*
,aria-*
, and other ).
- Support siver side rendering #43
- Add
updateSize
method.
- Add
lockAspectRatio
property.
- Avoid unnecessary rendering on resizer
- Fix onTouchStart bind timing to avoid re-rendering
- Support preserving auto size #40 (thanks @noradaiko)
- Add
grid
props to snap grid. (thanks @paulyoung)
- Add
userSelect: none
when resize get srated. - Add shouldComponentUpdate.
- Add handle custom className.
- Add module export plugin for
require
.
- Update document.
- Add size argument to resizeStart callback.
- Fix bug
- Fix delta value bug
- Add delta argument to onResize and onResizeStop callback.
- Rename and add resizer.
- Support react v15
- ESLint run when push
- Add mousedown event object to
onResizeStart
callback argument.
- Support
'px'
and'%'
for width and height props.