Jan 4, 2024
0
Level 1
help with handling toggleAccordion with @click
I would like to achieve that when I have already opened an element and I want to open the next one, the index of the arrow of that element rotates correctly
The problem arises when the clicked element is older than the already opened element, while in the opposite direction there is no such problem because the index remains unchanged as can be seen from the attachment
Please or to participate in this conversation.