Closed ZYJLiu closed 1 week ago
Oh yes the initial sidebar level was mistakenly increased to 1, should be fixed now
defaultOpenLevel
still doesn't seem to work, using 14.5.2
The fix is on the latest version, have you updated?
working now with 14.5.4, ty!
To Reproduce
The sidebar tab remains closed by even though
defaultOpenLevel: 1
Create new fumadocs project using
npm create fumadocs-app
Create
content/docs/test/test.mdx
to display "test.mdx" under a "test" tab in sidebarapp/docs/layout.tsx
withsidebar={{ defaultOpenLevel: 1 }}
Current vs. Expected behavior
Currently, folders in sidebar remain closed when using
defaultOpenLevel
prop.The expected behavior is that they open to the specified level.
Provide environment information
Which area(s) are affected? (Select all that apply)
UI
Additional context
No response