Accordion heightStyle: "content" not working

Accordion heightStyle: "content" not working

Following the API documentation here:


I set "heightStyle" to "content" in an attempt to get all panels to re-size to their content.  However, it's not working as you can see here:


...the first panel is taller than the content.  It's the size of the taller second panel.


Does anyone have an idea what's going on here?

Thank you.