Skip to content

Something went wrong on focusTrap.js with vue 3.5.x #357

@fgruchala

Description

@fgruchala

Hi team,

Thanks a lot for your work.

Since I upgraded some dependencies, I have this error :

Caution

ℹ Error: Cannot read properties of undefined (reading 'removeEventListener')
admin-1 |
admin-1 | ⁃ at Array. (node_modules/vuetify/lib/composables/focusTrap.js:129:14)
admin-1 | ⁃ at EffectScope.stop (node_modules/@vue/reactivity./reactivity.cjs.js:124:25)
admin-1 | ⁃ at cleanupContext (node_modules/@vue/server-renderer./server-renderer.cjs.js:662:15)
admin-1 | ⁃ at renderToString (node_modules/@vue/server-renderer./server-renderer.cjs.js:1014:5)
admin-1 | ⁃ at async Object.renderToString$1 [as renderToString] (.nuxt/dev/index.mjs:6412:16)

Here is a short part of my package.json :

"dependencies": {
    "@nuxt/scripts": "^0.13.2",
    "@nuxtjs/i18n": "^10.2.4",
    "@pinia/nuxt": "^0.11.3",
    "compressorjs": "^1.2.1",
    "mongodb": "^7.1.1",
    "nuxt": "^4.4.2",
    "nuxt-auth-utils": "^0.5.29",
    "nuxt-security": "^2.5.1",
    "pinia": "^3.0.4",
    "sharp": "^0.34.5",
    "uuid": "^13.0.0",
    "vue": "^3.5.31",
    "vue-router": "^5.0.4",
    "vuetify-nuxt-module": "^1.0.0-beta.2",
    "zod": "^4.3.6"
  }

Not obvious, but I analyzed and the dependency vue made some bug patches on its recent CHANGELOG around the EffectScope.
I'm not sure and I would like your expertise.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions