Skip to content

Why root level pages cannot be expanded? #7677

Closed Answered by neo-mashiro
neo-mashiro asked this question in Q&A
Discussion options

You must be logged in to vote

OK I figured out the solution. Once I turned off the navigation.sections feature everything works fine.

theme:
  features:
    - navigation.sections

The documentation clearly states that

When sections are enabled, top-level sections are rendered as groups in the sidebar...
If both feature flags navigation.tabs and navigation.sections are enabled, sections are rendered for level 2 navigation items.

So this is expected behavior. Sorry for missing that info when reading the documentation.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by neo-mashiro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant