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
When only navigation.indexes is enabled this feature works ok.
However when combined with navigation.sections then the section indices are no longer clickable.
Expected behaviour
Both features should be compatible with each other.
Actual behaviour
Section indices are not clickable when both features are enabled.
Steps to reproduce
Enable both navigation.sections and navigation.indexes.
Additionally, I took the time to restructure the navigation CSS and move to a flex-based approach, as it's now widely supported and seems to be more resilient when it comes to supporting all possible combinations of navigation features. I hope that this doesn't introduce any further regressions and have tested all thinkable combinations, including RTL languages to be sure. If it does, please open new issues. Navigation is a very, very complex beast after all.
Further improvements
When using navigation.tabs, top-level index pages were also not clickable before. This is now fixed.
Navigation index links will now always stretch to the available space. This means that when clicking into the whitespace between the link and chevron of an index page, the link is followed. Previously, nothing happened.
Some spacing adjustments related to navigation and source facts (bycatch) in 2d3354b
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
The documentation says the
navigation.indexes
feature is compatible with all other feature flags however it doesn't seem to work if I enable navigation.sections.When only
navigation.indexes
is enabled this feature works ok.However when combined with
navigation.sections
then the section indices are no longer clickable.Expected behaviour
Both features should be compatible with each other.
Actual behaviour
Section indices are not clickable when both features are enabled.
Steps to reproduce
Enable both
navigation.sections
andnavigation.indexes
.Package versions
Using docker image: squidfunk/mkdocs-material:7.3.0
Configuration
System information
The text was updated successfully, but these errors were encountered: