react-component / react-component/collapse

Need accordion mode to prevent collapsing all sections

Open
#108 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
332
Forks
140
Avg merge
22h 19m
Merged PRs (30d)
1

Description

Currently in accordion mode (accordion=true) all the sections can be collapsed. We need a flag so that there is always one section open, e.g., if a section is open you cannot click on that section to collapse it.

Contributor guide

No contributing guide indexed for this repository

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 tracing the accordion=true entry point and the section-collapse behavior. The change is complete when the requested flag keeps one section open, prevents collapsing the currently open section, and still allows switching to another section.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.