Foliotek / Croppie

A Javascript Image Cropper
http://foliotek.github.io/Croppie
MIT License
2.55k stars 886 forks source link

The image returned in the update event triggered during rotation is incomplete #748

Closed ghost closed 3 years ago

ghost commented 3 years ago

image

` el.addEventListener('update', function (ev) { if (vanilla.data.url != undefined) { let cropData = ev.detail;

                console.log(cropData);

                //on button click
                vanilla.result().then(function (e) {
                        $('.wh50 img').attr('src', e);
                        $('.wh100 img').attr('src', e);
                });`