Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug Report][3.5.13] Nested VMenu causes error when left open on route change #19505

Closed
NickdeK opened this issue Mar 28, 2024 · 1 comment
Closed
Labels
duplicate The issue has already been reported

Comments

@NickdeK
Copy link

NickdeK commented Mar 28, 2024

Environment

Vuetify Version: 3.5.13
Vue Version: 3.4.21
Browsers: Chrome 123.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

  1. Have a nested menu
  2. Open the nested menu
  3. While the nested menu is open change the route
  4. Get an error in the console

Expected Behavior

Route change with no error in the console

Actual Behavior

Route change with error in the console

Reproduction Link

https://stackblitz.com/edit/vitejs-vite-fhewvt?file=package.json

Other comments

Nothing visually seems to break, but the error is causing error tracking issues.

As far as I can see it's caused by the setTimeout in the VMenu component which causes the function to be executed after the route has changed and when the component no longer exists.

I created a stackblitz reproduction link because there is no option to add the vue-router in the Vuetify sandbox.

@Arinono
Copy link
Contributor

Arinono commented Aug 5, 2024

I missed this one when I opened: #20248

@KaelWD KaelWD closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2024
@KaelWD KaelWD added the duplicate The issue has already been reported label Aug 5, 2024
@github-actions github-actions bot removed the S: triage label Aug 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
duplicate The issue has already been reported
Projects
None yet
Development

No branches or pull requests

3 participants