Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling this addon interferes with vue-advanced-cropper #207

Open
KorvinSzanto opened this issue Jan 27, 2024 · 0 comments
Open

Enabling this addon interferes with vue-advanced-cropper #207

KorvinSzanto opened this issue Jan 27, 2024 · 0 comments

Comments

@KorvinSzanto
Copy link

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",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant