Needs work
Project:
Drupal Canvas
Version:
1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2025 at 15:18 UTC
Updated:
3 Sep 2025 at 09:24 UTC
Jump to comment: Most recent
Comments
Comment #2
jessebaker commentedComment #4
jessebaker commentedSo further testing of my MR suggests this works but only if the element's actual height is lower than or equal to the min-height.
If you have an element with min-height: 100vh but then put enough text content into the element that it becomes taller than the screen height, then the iframe goes back to expanding forever.
I think the reason is that the element size is not increasing by the same ratio as the screen height (because at a certain point the min-height takes over, but not at all resolutions)
Comment #5
jessebaker commentedComment #6
jessebaker commented