UI Accordion - Parent container height
Hello.. I'm wondering if the accordion is supposed to expand the
height of it's parent container by default. For example, given the
below HTML markup, and with the accordion being called on the
#accordion DIV, should the #parent-container height re-size to fit
each .ui-accordion-content DIV respectively? In other words, if the
#parent-container has height set to auto which ends up being about
300px and #pane-2 has a height of say 500px, should the height of
#parent-container expand automatically to fit the entire accordion
content by default?
<div id="parent-container">
<div id="accordion">
<h3><a href="#">Pane 1</a></h3>
<div id="pane-1">
Some item A
Some item B
</div>
<h3><a href="#">Pane 2</a></h3>
<div id="pane-2">
Some item A
Some item B
Some item C
Some item D
Some item E
Some item F
Some item G
Some item H
</div>
<h3><a href="#">Pane 3</a></h3>
<div id="pane-3">
Some item A
Some item B
</div>
</div>
</div>