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

Cannot read property 'destroy' of undefined #14

Open
yoanmarchal opened this issue Oct 20, 2020 · 1 comment
Open

Cannot read property 'destroy' of undefined #14

yoanmarchal opened this issue Oct 20, 2020 · 1 comment

Comments

@yoanmarchal
Copy link

In mounted component , if component is set as disabled="true",
VueComponent.PinchZoom.beforeDestroy cant destroy himself
Error in beforeDestroy hook: "TypeError: Cannot read property 'destroy' of undefined"

@juventus18
Copy link

I am also getting similar errors, but I am not disabling the component using disabled="true"

TypeError: Cannot read properties of null (reading 'tagName')
    at new IvyPinch (app.js:77136:57)
    at VueComponent.PinchZoom.init (app.js:77701:21)
    at VueComponent.PinchZoom.mounted (app.js:77651:10)
    at invokeWithErrorHandling (app.js:18845:57)
    at callHook (app.js:21205:7)
    at Object.insert (app.js:20128:7)
    at invokeInsertHook (app.js:23328:28)
    at VueComponent.patch [as __patch__] (app.js:23547:5)
    at VueComponent.Vue._update (app.js:20934:19)
    at VueComponent.updateComponent (app.js:21046:10)

and

TypeError: Cannot read properties of undefined (reading 'destroy')
  at VueComponent.PinchZoom.beforeDestroy (app.js:77655:19)
  at invokeWithErrorHandling (app.js:18845:57)
  at callHook (app.js:21205:7)
  at VueComponent.Vue.$destroy (app.js:20964:5)
  at destroy (app.js:20148:27)
  at invokeDestroyHook (app.js:23096:59)
  at invokeDestroyHook (app.js:23101:9)
  at invokeDestroyHook (app.js:23101:9)
  at invokeDestroyHook (app.js:23101:9)
  at invokeDestroyHook (app.js:23101:9)

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

2 participants