patternfly / patternfly/patternfly-org

Bug - Navigation sidebar doesn't close when item is selected

Open
#4,808 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Hacktoberfest :jack_o_lantern: PF Team
Dominant language
JavaScript
Stars
74
Forks
147
Avg merge
4d 11h
Merged PRs (30d)
2

Description

Describe the problem
When the left navigation is collapsible on narrower screens, the navigation should slide closed again after a selection is made.

Expected behavior
When the user selects an item from the navigation, the sidebar containing the navigation should slide closed.

Screenshots
https://github.com/user-attachments/assets/2ba63dd7-1558-4bd1-9afa-8c6b58060ccf
clarification: the example above is the current behavior; desired behavior is for the left nav to slide shut after an item is selected (leaf nodes only - not if you are expanding a section)


Jira Issue: PF-2745

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.

Research direction

Start by locating the collapsible left navigation in the repository and reproduce the behavior on a narrow screen. The work is done when selecting a leaf item closes the sidebar, while expanding a navigation section leaves it open; verify both paths after the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.