Having this same issue. My height is set to 100% and I tested with another element (image) instead. Works fine. Something about the HTML element is not letting the dynamic height work correctly.
Apparently, the best way to resize the iframe is by using postMessage to send the height of the iframe content and capture it using JavaScript in Bubble, in order to subsequently change the size of the iframe and its container.