It seems to be encountering the error here, but I'm struggling to understand what the difference may be by just moving it to a modal
const blob = await new Promise(resolve => canvas.toBlob(resolve, cropperSettings.format));
if (!blob) {
throw new Error('Failed to get Blob for transformed image.');
}
I've recently moved the image cropper into a modal window and I started getting this error
This is the HTML, which worked fine inline outside of the modal
It seems to be encountering the error here, but I'm struggling to understand what the difference may be by just moving it to a modal
Appreciate any input or help