You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When cropping an image the scroll will enlarge or shrink the image.
Is it possible to turn this off?
It looks like it may be the zoomable = false or maybe :zoomable = "false" ??
perhaps in FormField.vue
I think you are right. By default, Cropper.js allows to zoom in or out the image using the mouse wheel or touchpad.
Check it out here and tell me if the zoomable option is what you are looking for: https://fengyuanchen.github.io/cropperjs/
If so, I guess we could make it possible to pass an array of options to the Cropper.js component.
Feel free to open a pull request. Or I will look at this when I have some time.
Hi @ctessier , yes that is the option.
I made a fork and added :zoomable="false" for the moment,
but passings options is a better solution.
I don't know vue to even start a PR, sorry.
When cropping an image the scroll will enlarge or shrink the image.
Is it possible to turn this off?
It looks like it may be the zoomable = false or maybe :zoomable = "false" ??
perhaps in
FormField.vue
The text was updated successfully, but these errors were encountered: