Skip to content

Conversation

DRiFTy17
Copy link
Collaborator

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added/updated: N
  • Docs have been added/updated: N
  • Does this PR introduce a breaking change? N
  • I have linked any related GitHub issues to be closed when this PR is merged? N

Describe the new behavior?

It's common to place a <forge-scaffold> as the first child within a <forge-dialog>. Safari has a problem with this because the scaffold is set to take up 100% of its height, but the dialog uses a flex layout for the container, which essentially collapses the scaffold down to 0 height.

This change sets height: auto by default on a slotted <forge-scaffold> element to avoid this problem, which also plays nice with all browsers.

@DRiFTy17 DRiFTy17 added minor Increment the minor version when merged skip-release Preserve the current version when merged labels Mar 13, 2025
@DRiFTy17 DRiFTy17 requested a review from a team as a code owner March 13, 2025 19:17
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@DRiFTy17 DRiFTy17 merged commit 0d638e6 into main Mar 20, 2025
13 checks passed
@DRiFTy17 DRiFTy17 deleted the dialog-slotted-scaffold-height branch March 20, 2025 15:30
Copy link
Contributor

github-actions bot commented Apr 3, 2025

🚀 PR was released in v3.8.0 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released This issue/pull request has been released. skip-release Preserve the current version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants