I would not call this a bug as with the nestable elements you have full control over the whole content and can do whatever you like with it (including animating things). You can use the brx-open class to distinguish between opened and closed accordion items and use this for your animation.
So with the default setup the following custom CSS on your accordion element adds a basic rotation animation to the icon when the item is opened:
Hi Hosein,
You can add two icons (a “+” and a “-”) and show or hide it (display: block, display: none) based on the .brx-open class, which indicates if the accordion is open.
Unfortunately I am not able to get to show another icon using the .brx-open class due to my limited CSS knowledge, can you post an example that I can use and adapt? My main issue is that I don’t know where to apply the display:block and none exactly…