Hi!
When Accordions are connected (when one closes by clicking the other one), there is some unwanted behavior with longer content.
- Open an accordion item that has longer content
- Scroll down and reach the next accordion item
- Open the next accordion item
The next accordion item is pulled upwards, beyond the viewport. The user doesn’t see it, so he needs to scroll up to find it.
I think that there should be a safety mechanism that would prevent the opened accordion to run out of the viewport. It should stick to the top of it if it is about to run away when opening it. It should also have adjustable margin offset for us to take sticky headers into account.
Thanks!