[Bug Report][3.11.1] VTreeview with `open-all`: mutating an item causes all items to open again
Environment
Vuetify Version: 3.11.1 Vue Version: 3.5.25 OS: Windows 10 (current)
Steps to reproduce
Expected Behavior
[
open-all] will cause all branch nodes to be opened when component is mounted.
(taken from the docs)
After mounting, which nodes are open depends on whether the user collapses/expands them.
Actual Behavior
All branch nodes are re-opened whenever any node is mutated in some way (e.g. setting disabled, class etc.)
Reproduction Link
https://play.vuetifyjs.com/#...
Images
https://github.com/user-attachments/assets/b33fc708-7345-4a5b-80ae-a54b2053657a
Yeah.. the prop is convenient but has limited utility in real-life scenarios. ~~You might want to switch it off, once the nodes are loaded.~~ nope, it collapses the tree.
Yeah. I got same problem. Any workarounds?
It would be great o have something like open-all.once
Because setting:
v-bind:openAll in template
and
openAll.value = false; in script after some logic change does not work - it collapses the three.