Skip to content

fix(modal): dialog hidden when not open - #276

Merged
tbielich merged 1 commit into
mainfrom
fix/modal-hide-closed
Aug 24, 2026
Merged

tbielich merged 1 commit into
mainfrom
fix/modal-hide-closed

Conversation

@tbielich

Copy link
Copy Markdown
Owner

Add dialog:not([open]) { display: none } — our display: grid was overriding the native dialog hidden state.

Our display:grid override was preventing native dialog:not([open])
from hiding the element. Add explicit :not([open]) { display: none }.
@tbielich
tbielich merged commit c09569c into main Aug 24, 2026
2 checks passed
@netlify

netlify Bot commented Aug 24, 2026

Copy link
Copy Markdown

Deploy Preview for ui-foundations ready!

Name Link
🔨 Latest commit 0a9d582
🔍 Latest deploy log https://app.netlify.com/projects/ui-foundations/deploys/6a8c521a843d05000828881b
😎 Deploy Preview https://deploy-preview-276--ui-foundations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant