Join GitHub today
Clicking the sidebar heading (desktop size, JS disabled) makes the sidebar disappear when in a sub-section #710
At a full desktop size, the theme displays the sidebar always visible. However, clicking on the header text for that sidebar makes the entire sidebar disappear when the following conditions are both true:
I assume this is because the header text is a label for the checkbox, and clicking that toggles the checkbox, which then makes the entire sidebar disappear. The only fix for this when it happens seems to be to shrink the browser size down to a mobile/tablet layout, use the hamburger menu to go back to the sub-section menu, and then expand the browser size again.
Clicking on the heading should not do anything.
Clicking on the heading makes the entire sidebar disappear.
Steps to reproduce the bug
The problem is, that there's a lot of CSS hacking to make it work without copying a lot of elements. We need to use the active state, because it is used to determine which part of the menu to render. However, I think I have a simple fix.