Fit to content with HTML


I have an issue with the height of my HTML element in a repeating group. The height of the HTML element can change then, I need to adapt the height in the repeating group.

Is there a way to manage that?

I did some test and it’s probably due to the Iframe (I need it to display mathematics formulas)

Thank you,