Semantic-ui-react: feat(Accordion): ability to open multiple items

Created on 15 Sep 2016  路  4Comments  路  Source: Semantic-Org/Semantic-UI-React

Can we support opening multiple content panels at a time?

enhancement help wanted

Most helpful comment

It would be in modifying src/modules/Accordion/Accordion.js. It currently accepts a single activeIndex value. That index is the index of the currently open panel. It would need to accept an array of indices. Then, every index in the array would correspond to an open panel.

All 4 comments

I would merge a PR for that. SUI core calls this exclusive. In our case it might look like:

<Accordion exclusive={false} />

Can you please give some pointers on where to fix this?

It would be in modifying src/modules/Accordion/Accordion.js. It currently accepts a single activeIndex value. That index is the index of the currently open panel. It would need to accept an array of indices. Then, every index in the array would correspond to an open panel.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fuwywawyuh picture fuwywawyuh  路  24Comments

levithomason picture levithomason  路  47Comments

dylankiss picture dylankiss  路  22Comments

justinobney picture justinobney  路  28Comments

skleeschulte picture skleeschulte  路  22Comments