Donaldcwl / browser-image-compression

Image compression in web browser
MIT License
1.31k stars 161 forks source link

Page refreshes when option useWebWorker: true #141

Open enrychemp opened 2 years ago

enrychemp commented 2 years ago

On Chrome version 101.0.4939.0 (Official build) canary (x86_64) Even applying your example here below https://donaldcwl.github.io/browser-image-compression/example/basic.html

I encounter the issue of page refreshing. On Chrome 99 no problem at all. It needs something to fix for future uses within 2 months in next Chrome release?

Donaldcwl commented 2 years ago

@enrychemp Thanks for the heads up, I just tested on Window Chrome Version 102.0.4997.0 (Official Build) canary (32-bit). The images I tested work fine. Would you mind sharing the image you used?