accordion height & quirky open close behavior
-
Synved:
I use the accordion for a “Quick Answers” FAQ feature on each page. You can view an example of it here: https://www.expressmerchantapplication.com/free-hypercom-t4220-dual-comm-credit-card-terminal/
I noticed initially that the active accordion content box (.ui-accordion-content-active) was bigger than the content I was including, i.e. there was much extra padding in the bottom of a panel when the content was short. When I add ‘height: auto!important’ to custom css for .ui-accordion-content-active, I get the desired result. Unfortunately, after making this modification, the accordion opens and closes in a weird manner: the active box remains open while the newly selected box opens, then after a delay, the abandoned box closes.
Any way to get the height=relative performance without changing how the accordion behaves on open / close?
PS: I continue to be a big fan of your plugin, so thanks again.
- The topic ‘accordion height & quirky open close behavior’ is closed to new replies.