You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collapse Part 2: Candy powder, then expand it again
Notice that Chapter 5: Wafer is expanded
In this example, initialExpandedItems : [0 : "pt1"1 : "pt1ch1"2 : "pt2ch5.1"]
So it's trying to maintain the state based on the initialExpanded instead of latest state
Expected behavior
We expect it to remember the state it was in before I collapsed the parent, regardless of what it was set to when the page loaded.
So in the example above, Chapter 3 should still be open. Then, Chapter 5 should be collapsed. At least until the whole page is refreshed or something like that.
Describe the bug
We should improve how TreeView retains the collapsed/expanded state of each item
To Reproduce
Steps to reproduce the behavior:
Chapter 3: Pudding
Part 1: Introduction
, then expand itChapter 3
is collapsedChapter 5: Wafer
Part 2: Candy powder
, then expand it againChapter 5: Wafer
is expandedIn this example,
initialExpandedItems : [0 : "pt1"1 : "pt1ch1"2 : "pt2ch5.1"]
So it's trying to maintain the state based on the initialExpanded instead of latest state
Expected behavior
We expect it to remember the state it was in before I collapsed the parent, regardless of what it was set to when the page loaded.
So in the example above, Chapter 3 should still be open. Then, Chapter 5 should be collapsed. At least until the whole page is refreshed or something like that.
Additional context
This shows a good example of the expected behavior: https://vuetifyjs.com/en/components/treeview/#open-all
The text was updated successfully, but these errors were encountered: