Overview

Follow-up to #3587909: Fix vh-unit detection in useSyncIframeHeightToContent to force cross-frame layout reflow. Pinning vh-style blocks on iframe load can still fail when editing prop values for code components: canvas-island re-renders replace DOM and drop inline constraints until a full iframe swap, so the iframe height can spiral again.

Proposed resolution

Re-apply vh detection after <canvas-island> subtree update and harden ratio logic for content taller than one viewport.

User interface changes

None

Issue fork canvas-3588074

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lauriii created an issue. See original summary.

lauriii’s picture

Status: Active » Needs review