vuetifyjs / vuetify

🐉 Vue Component Framework
https://vuetifyjs.com
MIT License
39.72k stars 6.95k forks source link

[Bug Report][3.5.11] VTreeView active-strategy="single-independent" attribute not in effect #19472

Open xuxu-1997 opened 6 months ago

xuxu-1997 commented 6 months ago

Environment

Vuetify Version: 3.5.11 Vue Version: 3.3.2 Browsers: Chrome 122.0.0.0 OS: Windows 10

Steps to reproduce

ex

Expected Behavior

Can take effect

Actual Behavior

Not effective

Reproduction Link

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

Jeast85 commented 6 months ago

Yes I have found the same. No matter the activation strategy, it will never return a node if it has children. The active-color does affect a parent node. Its just that parent nodes will not be returned in the activated array.

xuxu-1997 commented 6 months ago

how to do?