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

[Bug Report][3.7.9] VTreeView update:activated will be fired if a non activateable node is activated #20946

Open
mueller-jens opened this issue Jan 30, 2025 · 1 comment

Comments

@mueller-jens
Copy link

mueller-jens commented Jan 30, 2025

Environment

Vuetify Version: 3.7.9
Vue Version: 3.4.27
Browsers: Edge 132.0.0.0
OS: Windows 10

Steps to reproduce

  1. Open the link and the dev console of the browser
  2. click on a leave and you see that update:activated is fired with the id of the leaf
  3. click on a node (at the name) with children (for instance "public") you see that update:activated is fired with the id last activated leaf

Expected Behavior

in step 3 update:activated will not be fired, because there is no change

Actual Behavior

In step 3 update:activated is fired with the id last activated leaf

Reproduction Link

https://play.vuetifyjs.com/#...

@mueller-jens
Copy link
Author

It looks like this only happens, if open-on-click is not set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant