- fix: Add z-index: 1 for edge resizer
- fix: Use stored delta in onResizeStop
- fix: generated JSX namespace not working with React 19
- Revert #827 because regression
- Match focus order to visual order #827
- added grid gap prop to support adding any gaps to width/height. Fixes #822
- fix-boundary-scale: adds scaling to boundary Fixes #820
- Define callback refs inline to work with latest versions of Next.js / React #819
- Fixes resizable field always being null in React 18.3.
- Fixed a bug, onResize fired before snapping to grid #783
- improve
enabletype.
- use native
endsWith. - remove
fast-memoize.
- use
flushSyncin mouseMove.
- add
reactandreact-domto 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
xxxpxto 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
asoptional
- 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
vhandvwfor 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
snapGapproperty #446
- Upgrade some deps.
- Use typeScript instead of flowtype in [#413]
- Improve some perf.
- Support
vwandvh. 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-domtov16.7.0(#395)
- Add
resizeRatioprop (@martinmcneela in #391 & @bokuweb in 31ce82b2)
- Update
npm-run-alltov4.1.5(#389) - Update
react&react-domtov16.6.3(#387) - Update
sinontov7.2.2(#393) - Update
rollup-plugin-node-resolvetov4.0.0(#392) - Update
flow-bintov0.89.0(#385) - Update
prettiertov1.15.3(#386)
- Update
react&react-domtov16.6.1(#384) - Update
prettiertov1.15.1(#383) - Update
sinontov7.1.1(#379) - Update
flow-bintov0.85.0(#378) - Update
eslint-plugin-flowtypetov3.2.0(#375) - Update
rollup-plugin-node-globalstov1.4.0(#344)
- Don't add
pxwhen settingscaletoauto(@jrainville in #382 & @bokuweb in 62254a2b)
- Update
sinontov7.1.0(#373) - Update
react&react-domtov16.6.0(#371) - Update
gh-pagestov2.0.1(#352) - Update
flow-bintov0.84.0(#342)
- Fix initial left position of element for Safari (@jnelson180 in #374 & @bokuweb in 54d86200)
- Update
eslint-plugin-jsx-a11ytov6.1.2(#363) - Update
react&react-domtov16.5.2(#357) - Update
rollup-plugin-commonjstov9.2.0(#356) - Update
@βstorybook/addon-info&@βstorybook/reacttov3.4.11(#355)
- Add defaultStyle to default-size stories (@liorbentov in #361)
- Update
rolluptov0.65.2(#347) - Update
react&react-domtov16.5.1(#350) - Update
sinontov7.0.0(#368) - Update
eslint-plugin-flowtypetov3.0.0(#367) - Update
rollup-plugin-replacetov2.1.0(#365) - Update
rollup-plugin-replacetov10.0.1(#360) - Update
prettiertov1.14.3(#359)
- Update
rolluptov0.65.0(#339) - Update
rollup-plugin-commonjstov9.1.6(#338) - Update
react&react-domtov16.5.0(#348) - Update
sinontov6.3.1(#345)
- Update
flow-bintov0.79.1(#336) - Update
sinontov6.1.5(#327) - Update
rollup-plugin-babeltov3.0.7(#305) - Update
rolluptov0.64.1(#296)
- Add absolute snap dimensions (@therebelrobot in #337 & @bokuweb in e9f0df99)
- Change
Greenkeeperbadges toRenovatein README (@bokuweb in 7903d50e) - Fix
ResizeCallbacktypes in README (@mdanka in #325)
- Update
prettiertov1.14.2(#311, #312 & #329) - Update
flow-bintov0.78.0(#298, #320, #326 & #332) - Update
@βstorybook/addon-info&@βstorybook/reacttov3.4.10(#297 & #331) - Update
flow-copy-sourcetov2.0.2(#313 & #324) - Update
sinontov6.1.3(#309, #314 & #317) - Update
eslint-plugin-reacttov7.11.1(#310, #334 & #335) - Update
eslint-plugin-importtov2.14.0(#308 & #333) - Update
prettier-eslinttov8.8.2(#301) - Update
eslint-plugin-jsx-a11ytov6.1.1(#315 & #323) - Update
babel-eslinttov8.2.6(#302 & #322) - Update
flow-typedtov2.5.1(#318) - Update
eslint-plugin-flowtypetov2.50.0(#321) - Update
react&react-domtov16.4.2(#330) - Update
rollup-plugin-commonjstov9.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
rolluptov0.61.0(#290 & #295) - Update
@βstorybook/addon-info&@βstorybook/reacttov3.4.7(#288) - Update
prettiertov1.13.5(#285) - Update
sinontov6.0.0(#289) - Update
flow-copy-sourcetov2.0.0(#280) - Update
eslint-plugin-reacttov7.9.1(#279) - Update
avarontov0.2.0(#300)
- Update
react&react-domtov16.4.1(#291)
- Drop Node 6/7 support in CI (@bokuweb in 1b6480cf)
- Update
flow-bintov0.74.0(#284) - Update
sinontov5.1.0(#282) - Update
rolluptov0.60.1(#281)
- Update
sinontov5.0.10(#223, #227, #251, #252, #254 & #268) - Use specific Docker image in CI (#225)
- Update
flow-bintov0.73.0(#226, #242, #247, #258 & #271) - Update
react&react-domtov16.4.0(#228, #231, #241 & #269) - Update
eslint-plugin-importtov2.12.0(#229, #236 & #264) - Update
@βstorybook/addon-info&@βstorybook/reacttov3.4.6(#230, #233, #244, #249, #261, #265 & #272) - Update
prettiertov1.13.4(#235, #243, #273, #275 & #276) - Update
rollup-plugin-babeltov3.0.4(#246) - Update
rolluptov0.59.4(#240, #263, #266 & #270) - Update
eslint-plugin-flowtypetov2.49.3(#239, #267 & #277) - Update
rollup-plugin-commonjstov9.1.3(#250) - Update
babel-eslinttov8.2.3(#237) - Update
rollup-plugin-node-globalstov1.2.1(#255) - Update
npm-run-alltov4.1.3(#253) - Update
babel-preset-envtov1.7.0(#259) - Update
eslint-plugin-reacttov7.8.2(#260 & #262) - Update
gh-pagestov1.2.0(#278)
- Update
sinontov4.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,
autooverwritten 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
widthandheight. - Add
defaultSizeandsize,
- Fix flowtype annotation.
- Remove
extendsProps.
You can add extendsProps as follows.
<Resizable data-foo="foo" />
- fix typo.
ResizeStartCallBack->ResizeStartCallback.
- export
ResizeDirectiontype. - rename
CallbacktoResizeCallback.
- Fix flow filename.
- Change logo
- Change package name,
react-resizable-box->re-resizable. - Add
handleWrapperStyleandhandleWrapperClassprops. - Change behavior that is set percentage size to width or height as props.
- Support percentage max/min size.
- Use rollup.
- Fix props name.
handersClasses->handleClasseshandersStyles->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
extendsPropsprop to other props (e.g.data-*,aria-*, and other ).
- Support siver side rendering #43
- Add
updateSizemethod.
- Add
lockAspectRatioproperty.
- Avoid unnecessary rendering on resizer
- Fix onTouchStart bind timing to avoid re-rendering
- Support preserving auto size #40 (thanks @noradaiko)
- Add
gridprops to snap grid. (thanks @paulyoung)
- Add
userSelect: nonewhen 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
onResizeStartcallback argument.
- Support
'px'and'%'for width and height props.