-
Notifications
You must be signed in to change notification settings - Fork 224
Open
Description
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)
Metadata
Metadata
Assignees
Labels
No labels