Skip to content

Fix: Sidebar accordion not collapsing#487

Merged
YOGESH-08 merged 1 commit intoCodeChefVIT:stagingfrom
Rithish-2914:fix/accordion-toggle
Apr 16, 2026
Merged

Fix: Sidebar accordion not collapsing#487
YOGESH-08 merged 1 commit intoCodeChefVIT:stagingfrom
Rithish-2914:fix/accordion-toggle

Conversation

@Rithish-2914
Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes sidebar accordion issue where sections could not be collapsed.

Problem

Accordion was using a controlled value prop, forcing sections to remain open and preventing toggle behavior.

Solution

Removed the value prop and added collapsible to enable proper toggle functionality.

Testing

  • Verified sections expand and collapse correctly
  • No UI regressions observed

Linked Issue

Closes #439

@YOGESH-08 YOGESH-08 merged commit 8e66e3d into CodeChefVIT:staging Apr 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accordian doesn't collapse on clicking

2 participants