Skip to content

Navigation children not showing #4

Description

@Lenitr

I noticed that the children of the navigation items don't open unless the navigation item is selected (you can see how this works with utilities for example).

Not active:
Screenshot 2024-08-02 at 12 59 25

Active:
Screenshot 2024-08-02 at 12 59 30

Since the Laravel item does not have a route or url, it is never in an "open" state and doesn't display children (not sure if this is something from later versions of Statamic, I'm using V5 right now, and I think this has been like this in V4 as well).

I'm trying to work around this by making a separate section for the Laravel package items. I'm creating a pull request for this in a bit, if you're interested in adding this as well, feel free to merge it. If you would like to see another solution I'm also open to hearing about it 😄

In any case, thanks for the work on the addon, it seems handy for my use case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions