Update dependency react-resizable to v3 #38
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.7.5
->^3.0.0
Release Notes
react-grid-layout/react-resizable (react-resizable)
v3.0.5
Compare Source
width
andheight
conditionally required if anaxis
is set. See #196onResize
callback arity.v3.0.4
Compare Source
handleAxis
on DOM elements. #175v3.0.3
Compare Source
handleAxis
making it to DOM elements, causing a warning in dev.lockAspectRatio
logic to be more accurate and shorter.v3.0.2
Compare Source
handleAxis
prop was not being passed to custom components.v3.0.1
Compare Source
.npmignore
.v3.0.0
Compare Source
Breaking
nodeRef
that needs to be passed to<DraggableCore>
to avoid use of ReactDOM. This means that vanilla usage ofreact-resizable
no longer requires ReactDOM. No code changes are needed in the usual case, except:>= 16.3
is required due to use ofReact.createRef()
, andhandle
prop now sends aReactRef<HTMLElement>
as its second argument and expects it to be used on your returned component.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.v2.0.0
Compare Source
v1.11.1
Compare Source
v1.11.0
Compare Source
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
.<ResizableBox>
now takes astyle
prop which will be applied on the wrapping<div>
.width
andheight
in this prop are ignored.handle
from div children in ResizableReact.cloneElement
. #124v1.10.1
Compare Source
transformScale
prop #115getDerivedStateFromProps
dev warning #117v1.9.0
Compare Source
lockAspectRatio=true
#106componentWillReceiveProps
) (https://github.com/STRML/react-resizable/pull/112/commits/541dee69b8e45d91a533855609472b481634edee)<Draggable>
. This has not been needed for quite some time, fixes some bugs and improves performance.v1.8.0
Compare Source
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.