jofftiquez / vue-croppie

Vue wrapper for croppie
https://jofftiquez.github.io/vue-croppie/
MIT License
261 stars 42 forks source link

Why calling to this.refresh() on .result() ? #15

Closed jmaister closed 7 years ago

jmaister commented 7 years ago

It was working for me with the last version. Calling this.refresh() on each call to croppie.result() makes my vue-croppie component go to a blank image.

How can I keep the image being cropped ?

Also, a breaking change should bump the middle version according to semver.

jofftiquez commented 7 years ago

Hi @jmaister good day! On the result() function, you should get the output/cropped image. You need to put that in a variable in order to keep it after the croppie has been destroyed()

The this.result() is being called to destroy the croppie instance thus avoiding the #358 issue on official croppie page.

I will watch out for that breaking changes thank you for notifying me as always.

Did I answer all your questions? Please feel free to join our gitter chat for future questions :)