I am trying to combine react-easy-crop.js with react-uploady.js but do not succeed. There is an example in which react-uploady is combined with react-image-crop which I am trying to adapt using react-easy-cropper. After selecting a picture to be shown in the cropper I run into an error:
TypeError
Cannot read properties of null (reading 'x')
Cropper.render
https://93p5u.csb.app/node_modules/react-easy-crop/index.js:737:16
and do not know how to proceed.
The codesandbox showing this behavior is here.
How can I avoid this error? How should react-easy-crop be implemented with react-uploady?