defaultOpen property not working as expected #541
-
Issue DescriptionWhen I include Steps to Reproduce
Expected BehaviorThe folder should be closed when Actual BehaviorThe folder is always open, even when Environment
Additional Information |
Beta Was this translation helpful? Give feedback.
Answered by
fuma-nama
Jun 29, 2024
Replies: 1 comment 1 reply
-
This is expected, you have to adjust the default open level of sidebar, since the priority of sidebar options is higher. See https://fumadocs.vercel.app/docs/ui/blocks/layout#reference-1 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
RiCatarino
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is expected, you have to adjust the default open level of sidebar, since the priority of sidebar options is higher.
See https://fumadocs.vercel.app/docs/ui/blocks/layout#reference-1