I'm not really sure what's interfering. From what I can tell the vue-advanced-cropper component loads images using an img tag and not using fetch / XMLHttpRequest.
Here's an example story that will work until storybook-addon-mock is enabled:
import {Cropper} from "vue-advanced-cropper";
export default {
component: Cropper,
title: 'Test/Cropper',
}
export const basicUsage = {
args: {
style: 'width: 400px;height: 300px',
src: 'https://images.pexels.com/photos/4323307/pexels-photo-4323307.jpeg',
}
}
Versions:
"@storybook/vue3": "^7.6.6",
"@storybook/vue3-vite": "^7.6.10",
"vue-advanced-cropper": "^2.8.8",
"storybook-addon-mock": "^4.3.0",
I'm not really sure what's interfering. From what I can tell the
vue-advanced-croppercomponent loads images using animgtag and not using fetch / XMLHttpRequest.Here's an example story that will work until
storybook-addon-mockis enabled:Versions: