Vue-Tree-Navigation
Vue-Tree-Navigation copied to clipboard
TreeNavigation doesn't expand when directly visited URL is nested two or more layers
This seems like a continuation of issue #5:
Suppose I have a structure like this:
- Parent Group
- Leaf Item no. 1
- Child Group
- Leaf Item no. 2
When visiting Leaf Item no. 1 directly by entering its URL in the browser, Parent Group is automatically expanded as I would expect. When visiting Leaf Item no. 2 directly, nothing is expanded. I would expect both Parent Group and Child Group to be expanded. When I set autoOpenLevel to 1, Child Group gets expanded correctly. If I had other groups next to parent group, they would get expanded as well which is not what I want.
I am using manually defined items.