In Gin admin sidebar nav the parent item becomes unclickable if there are child menu items

Created on 3 July 2025, 3 days ago

Problem/Motivation

When using the Gin sidebar, the top level menu items are unclickable when there are child menu items. This makes sense when the parent item is only a list of the child menu items. This stops making sense when the parent (default) menu item is also a useful destination. Looking at People, and Appearance specifically, if the flood_unblock or styleguide modules are installed, then People and Appearance are no longer clickable.

Oddly, the Extend menu doesn't share this behavior. It doesn't matter if you have child menu items for the extend parent the extend parent doesn't show any children and remains the only clickable menu item.

Steps to reproduce

1. Install flood_unblock and/or styleguide
2. go do an admin page with gin enabled as the admin theme
3. try and click on people or appearance
4. notice it only opens a disclosure of the children menu items

Proposed resolution

Show the default menu item in the list along with the rest.

Remaining tasks

User interface changes

See Proposed resolution

API changes

NA

Data model changes

NA

πŸ› Bug report
Status

Active

Version

5.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States frob US

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @frob
  • πŸ‡¨πŸ‡­Switzerland saschaeggi Zurich

    Please switch to the new core navigation insyead (enable it the navigation module).

    We'll soon deprecate and remove our test integration.

    Cheers!

  • πŸ‡ΊπŸ‡ΈUnited States frob US

    I don't want to use the navigation module because I want to keep the top horizontal toolbar for non-admin users.

  • πŸ‡¨πŸ‡­Switzerland saschaeggi Zurich

    I still need to close this one out as won't fix as we'll soon remove our implementation and you'll need to rely on the navigation module if you want to use the sidebar navigation as Gin will move to Core.

    Cheers!

Production build 0.71.5 2024