-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current tab detection breaks if the section has only subsections #2098
Comments
This issue has been resolved as part of #2072. As #2072 (comment) explains, the bugfix will be released with the hit of the next Insiders funding goal. This is an exception to the usual policy of providing bugfixes for both editions, due to the fact that navigation has undergone a big refactoring. As I'd consider this to be a minor bug (i.e. wrong link color), it doesn't justify the effort of backporting the fix. I hope for your understanding - it shouldn't take more than a few weeks after all. |
The funding goal has been reached and the respective features and fixes have just been merged from Insiders. The |
This is indeed fixed, thanks. |
I'm still trying to figure out whether we should start with a beta release – we'll close this issue when the fix is released. |
6.2.1 was just released, which includes the fixes. |
I've found a bug and checked that ...
Description
If tabbed navigation is enabled and a tab's nav items include only subsections, not any pages, then the tab may not be detected as active.
Expected behavior
The current tab is highlighted
(which it is in this case, but only for the first subsection)
Actual behavior
Selecting any item under the 2nd section onwards makes the tab not highlighted anymore
Steps to reproduce the bug
mkdir -p docs/taba docs/taba/bar docs/taba/foo docs/tabb touch docs/taba/bar/bar.md docs/taba/bar/barr.md docs/taba/foo/foo.md docs/taba/foo/fooo.md docs/tabb/b.md cat >mkdocs.yml
Package versions
Project configuration
System information
The text was updated successfully, but these errors were encountered: