Hey @techtone,
thanks for your report.
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:
root .brxe-icon {
transition: var(--bricks-transition);
}
root .brx-open .brxe-icon {
rotate: 90deg;
}
Adjust this CSS to your needs.
And of course you’re always welcome to create an idea for these kinds of improvements.
Let me know if that helps.
Best,
André