Accordions don't always display closed animation. #934
Labels
bug report
contributions-welcome
Pull Requests welcome for this issue!
on-roadmap
Has been added to internal SDP roadmap
Describe the bug
Accordions display a slide down animation on open. (Correct)
On close, the animation often does not display and will usually close immediately. (Incorrect)
When clicking an accordion header during it's transition; it will either immediately open or close, with a slight delay before the text hides. This can lead to an open accordion with no text. (Generally it looks buggy)
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Clicking an accordion to open will display a slide down animation. Clicking to close will display a slide up animation. Clicking during a transition should halt the current animation and perform the expected (opposite) animation. E.g. Click while opening should initiate close / clicking while closing should initiate open.
Actual behaviour
See "Describe the bug"
Screenshots
https://user-images.githubusercontent.com/12739575/113796671-23b54100-9793-11eb-9cd2-4da281f264c8.mp4
Versions
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: