Closed chriscdn closed 4 years ago
@chriscdn I unfortunately was unable to replicate using this code:
async onChange(event) {
let image = await readAndCompressImage(event.target.files[0], { autoRotate: false });
let base64Image = await this.convertToBase64(image);
this.image = base64Image;
}
I'm locally testing on a macOS environment, and confirmed functionality on Chrome, Safari, and Firefox.
Can you send me details of your local environment? Thanks!
I regret I don't recall the test case or what I saw when I reported this. Apologies for wasting your time.
Setting
autoRotate: false
prevents the promiseresolve
function from being called.