coreui / coreui/coreui-angular

Feature request: Configure expand/collapse state for navItems of c-sidebar-nav

Open
#245 8 comments 0 reactions 1 assignee View on GitHub

@xidedix is already working on this.

Since Feb 2, 2026.

bug enhancement
Dominant language
TypeScript
Stars
275
Forks
155
Avg merge
2h 14m
Merged PRs (30d)
1

Description

If you specify children for an INavData item, a expanded dropdown will be displayed in the navigation.

Currently, these dropdowns will always be expanded.

It would be really cool, if ...:

  1. ... there would be a property to specify the intial state
  2. ... there would be a callback if a state did change, so can save this state for the next load

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.