Closed (outdated)
Project:
Experience Builder
Version:
0.x-dev
Component:
Page builder
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Jul 2024 at 19:10 UTC
Updated:
3 Sep 2025 at 09:21 UTC
Jump to comment: Most recent
Comments
Comment #2
wim leersAre tests feasible for this? 🤔
Comment #3
bnjmnmYes -
Comment #4
gauravvvv commentedComment #6
gauravvvv commentedStill needs to add test component.
Comment #7
wim leersComment #9
jessebaker commentedCame across this pretty old one!
In some very quick testing this still seems to be slightly problematic. I made a code component with a 50vh height. While it doesn't seem to grow infinitely in size, the 50vh IS based on the height of the iFrame and on a very long page that can be huge.
Perhaps a different solution would be to get the height of the parent window and base the vh calculation on that rather than the height of the iFrame/whole page. It's still not perfect, but at least it will more likely be closer to the intended height.
Comment #10
jessebaker commentedAdding #3518708: Components with height in VH can cause the preview iFrame to expand infinitely in height as a related issue. That fixes a bug that was present for vh units in inline styles.
The stylesheet based VH unit issue described in the summary still exists.
Comment #11
wim leers#10: so would this title be more accurate?
Comment #12
bnjmnmThis shouldn't be a problem once [##3534490] lands
Comment #13
larowlanSimilar problem space #3544531: 100% height on body or html element breaks viewport height calculation
Comment #14
jessebaker commentedClosing this. #3534490: Cannot use `h-screen` from Tailwind with XB landed which addressed the main problem described by this issue. The two remaining issues that I can see are not accurately described by the issue summary here and can be fixed in their respective issues
#3538809: IFrame height breaks when using min-h-screen class on component
#3544531: 100% height on body or html element breaks viewport height calculation