K
K
kreaman2019-05-03 12:42:00
JavaScript
kreaman, 2019-05-03 12:42:00

How to disable automatic collapse of an object in collapse?

Good afternoon.
Can you tell me how to turn off auto-folding of the list?
I have 4 blocks with benefits. Clicking on one of the benefits for all 4 blocks opens a list of what is included in this benefit. If you close this advantage and open a new one, a new list will appear.
But if you do not close the previous advantage and click on a new one, then in the first block the previous one is automatically closed, and in the remaining 3 it is open.
You can see how it works visually here: https://codepen.io/Kreaman/pen/mgNYWQ

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dies Irae, 2019-05-03
@kreaman

You have the same id for collapse:
coll1, coll2, etc.
5ccc0f35d59cc697538719.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question