themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.35k stars 711 forks source link

fix: switch direction of accordion arrows to point properly #709

Closed AlexMNet closed 5 months ago

AlexMNet commented 8 months ago

Fix direction of accordion arrows which are currently pointing in the wrong direction when in the open and closed state. Switched instances of i.iconEl.classList.add('rotate-180') to i.iconEl.classList.remove('rotate-180') and vice versa in accordion index.ts

Fixes #703

zoltanszogyenyi commented 5 months ago

Thanks for the PR, @AlexMNet. Merged!

AlexMNet commented 5 months ago

Awesome! Thanks @zoltanszogyenyi !!!

Filipdahlfors commented 5 months ago

This issue still persists for me. I'm using CDN version 2.2.1. Is there a newer one?