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

Updating to vue 3.4.7 from 3.4.8 breaks things. #132

Open
kriserickson opened this issue Apr 25, 2024 · 0 comments
Open

Updating to vue 3.4.7 from 3.4.8 breaks things. #132

kriserickson opened this issue Apr 25, 2024 · 0 comments

Comments

@kriserickson
Copy link

Updating Vue to 3.4.8 from 3.4.7 breaks the component.

I'm using Quasar, Vue, and Vite and this.$refs.img becomes undefined when upgrading to Vue 3.4.8. I've tested updating the example app and it still works. I've created a pull-request to fix this, #131 but it is an ugly solution.

vue-cropperjs.js?v=800a251e:37638 Uncaught (in promise) Error: The first argument is required and must be an <img> or <canvas> element.
    at new Cropper2 (vue-cropperjs.js?v=800a251e:37638:19)
    at Proxy.mounted (vue-cropperjs.js?v=800a251e:38096:24)
    at chunk-3UYGRKYA.js?v=6e88d377:4254:154
    at callWithErrorHandling (chunk-3UYGRKYA.js?v=6e88d377:1638:19)
    at callWithAsyncErrorHandling (chunk-3UYGRKYA.js?v=6e88d377:1645:17)
    at hook.__weh.hook.__weh (chunk-3UYGRKYA.js?v=6e88d377:4236:19)
    at flushPostFlushCbs (chunk-3UYGRKYA.js?v=6e88d377:1820:41)
    at flushJobs (chunk-3UYGRKYA.js?v=6e88d377:1858:5)



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