Hi, I use Accordion from Sample UI Patterns. There are default interactions there which are good. But I want to change one thing there, i.e. to make sure that when one part of the accordion is opened, another part automatically closes.
For example, if I have three elements, I click on the first one, the first one expans. Then I click on the second one and the second one expans. In that way I have two elements expanded. I want different behavior, I want the first one to automatically collapse on the opening of the second one.
Can you share any advices, please, on how to best achieve it? Thank you!