Releases: sekoyo/react-image-crop
Releases · sekoyo/react-image-crop
10.0.5
10.0.4
10.0.3
10.0.2
No changes just a fix for SSR that was regressed in 10.0.1.
Trying to assign document
to a variable on load caused issues with some SSR setups (e.g. NextJS). Now document is by default as a function that is evaluated during render to fix this.
If you wish to override document you can choose to keep it a function so that it works better with SSR:
class IframeReactCrop extends ReactCrop {
get document() {
return window.top.document
}
}
10.0.1
10.0.0
No changes since beta. Refer to https://github.com/DominicTobias/react-image-crop/releases/tag/10.0.0-beta.0 for breaking changes
10.0.0-beta.5
max-height
on ReactCrop works without needing to apply CSS on other elements
10.0.0-beta.4
- Simplify and fix the calling of
onComplete
when a new crop is created (without user input)
10.0.0-beta.3
- Fixed v10 regression relating to wrong pointer coords when web page is scrolled
10.0.0-beta.2
- When setting an initial crop there was a possible race condition that would mean that the initial
onComplete
before user input might not get called