spring-io / antora-ui-spring

Mozilla Public License 2.0
15 stars 28 forks source link

Left-hand nav sections do not expand and collapse reliably #194

Closed wilkinsona closed 6 months ago

wilkinsona commented 8 months ago

I'm finding the sections in the left-hand nav harder to expand and collapse than I would like. I think it's because there are two different click targets for each section (the text and the >) and they behave differently.

If I click on the text for an unselected top-level section, it expands. Similarly, if I click on the > for an unselected top-level section it expands. If I do the same for a selected top-level section the behavior differs. Clicking on the text does nothing (I think it reloads the page but things then look as they did before) but clicking on the \/ collapses the section. Can the behavior be made more consistent so that clicking anywhere always expands or collapses the section.

Somewhat related the > doesn't reliably change to a \/ when expanding and back to a > when collapsing.