Closed mishushakov closed 1 day ago
Thanks for the reproduction. I found the problem, the tabs component accepts only url prop for items, which isn't enough to detect the correct group from pathname.
It's because group members will conflict with the other pages outside the group. (e.g. /dir/(group)/page.md
and /dir/another.md
yields urls with the same directory dir
), and it now requires also the page tree to make it work.
Going to make a fix tomorrow
Thank you so much!!
Currently the check relies on object references, it should be working but welcome to reopen if the fix has problems
To Reproduce
I'm using the following structure:
I have (test) root and section root repo: https://github.com/mishushakov/fuma-docs-repro
Current vs. Expected behavior
The selector does not update when you switch roots if a root is group
Provide environment information
Which area(s) are affected? (Select all that apply)
UI
Additional context
No response