You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you for this smart script for accordion. I tried to implement it with opened only one defined branch of closed tree - by class="accordion open" defined in parent elements (in demo) - and there is some problem with calculating height.
It seems that script calculate only height of first parent element and ignore others inside.
Any movement on this one? I am running into the same problem. Set the class to have open but content height is not being calculated properly. Still shows the accordion closed.
Hi,
Thank you for this smart script for accordion. I tried to implement it with opened only one defined branch of closed tree - by class="accordion open" defined in parent elements (in demo) - and there is some problem with calculating height.
It seems that script calculate only height of first parent element and ignore others inside.
<section id="only-one" data-accordion-group> <section class="accordion open" data-accordion> <button data-control>Accordion 1</button> <div data-content> <article>Item</article> <article class="accordion open" data-accordion> <button data-control>2nd Level</button>
I tried to figure out and but withou success.
Does anybody have any idea?
The text was updated successfully, but these errors were encountered: