Skip to content

Conversation

@andycall
Copy link
Member

@andycall andycall commented Feb 2, 2026

Root cause: auto-width WidgetElements mounted into a portal/modal subtree could have their used width clamped by the DOM/style-tree parent (e.g. 36px), producing incorrect maxWidth constraints in the popup render tree.

Changes:

  • Only clamp widget constraints by style-tree parent width when that parent renderer is an ancestor of the current render subtree
  • Add integration_tests repro + custom elements for Cupertino modal popup portal width
  • Add widget test guard for portal constraints

Test:

  • integration_tests/specs/rendering/widget_portal_cupertino_modal_popup_width_not_clamped.ts

@vercel
Copy link

vercel bot commented Feb 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
use-case Ready Ready Preview, Comment Feb 2, 2026 6:33pm
vue_usecase Ready Ready Preview, Comment Feb 2, 2026 6:33pm

Request Review

@andycall andycall merged commit f00be03 into main Feb 3, 2026
31 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants