You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(theme): apply default expansion depth even when control is hidden
`themeConfig.api.schemaExpansion.default` now reliably auto-expands to
the configured depth on every page load when `enabled` is false — the
provider previously kept reading from localStorage in that case, so a
stale value from a prior session where the control was enabled could
shadow the new default. Persistence is now implicitly off whenever the
control is hidden.
Also clarify the docstrings so it's discoverable that you can set just
`{ default: 1 }` to get auto-expansion without rendering the UI.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments