Configurable Sidebar toggle strategy #3868
Replies: 1 comment 2 replies
-
|
In theory, it’s possible to use the There’d also be some decisions to make about behaviour with nested groups — which might complicate things and prevent it working using only So overall, I’m not sure this would be a good candidate for a built-in option and maybe something to implement with a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlightare you using?0.38.3
What is your idea?
I'd like to expose a way to customize the sidebar open state toggle strategy. Currently, it's hard-coded in
SidebarPersistState.ts.Why is this feature necessary?
I prefer the way VitePress handles open states, i.e., only one group can be active at a time. It's way easier to spot the active group/item that way. This setting would allow users to get the same functionality.
Do you have examples of this feature in other projects?
No response
Participation
Beta Was this translation helpful? Give feedback.
All reactions