Help with 'heightStyle' in Accordion
Hi,
Found the demo below useful for what I want to achieve with an accordion:
http://codepen.io/anon/pen/kLbeD
However, I'm not getting the expected results from the heightStyle of the content div.
My Fork:
http://codepen.io/anon/pen/GJbKjW
In my version I've just added differing amounts of text to the content divs.
I expected 'heightStyle: 'content' to set the height of each div to the height of the content, but it doesn't.
Instead, it seems to ignore this and behave as if it were 'heightStyle: 'auto' which is equal content heights (based on the tallest)?
Appreciate any advice.
Cheers