carbon-design-system / carbon-components-vue

Vue implementation of the Carbon Design System
http://vue.carbondesignsystem.com
Apache License 2.0
606 stars 178 forks source link

this.cal.destroy is not a function #1365

Closed selimdoyranli closed 5 days ago

selimdoyranli commented 1 year ago

Detailed description

Throwing error when leave from route/page

Steps to reproduce the issue

  1. Leave from route on mobile (page contains datepicker)
  2. Throw error

Additional information

this.cal.destroy is not a function
    at VueComponent.beforeDestroy (carbon-vue.umd.min.js?c8c2:1:1)
    at invokeWithErrorHandling (vue.common.dev.js?4650:1868:1)
    at callHook (vue.common.dev.js?4650:4232:1)
    at Vue.$destroy (vue.common.dev.js?4650:3990:1)
    at destroy (vue.common.dev.js?4650:3181:1)
    at invokeDestroyHook (vue.common.dev.js?4650:6149:1)
    at invokeDestroyHook (vue.common.dev.js?4650:6154:1)
    at invokeDestroyHook (vue.common.dev.js?4650:6154:1)
    at invokeDestroyHook (vue.common.dev.js?4650:6154:1)
    at invokeDestroyHook (vue.common.dev.js?4650:6154:1)

version: @carbon/vue 2.44.1 nuxt.js ssr

github-actions[bot] commented 2 months ago

This issue has been marked as stale because it has required additional info or a response from the author for over 14 days. When you get the chance, please comment with the additional info requested. Otherwise, this issue will be closed in 14 days.

github-actions[bot] commented 5 days ago

This issue has been closed because it has received no activity for 28 days.