-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why is <dialog> defaulted to display: block
?
#26264
Comments
Can you provide a working reduced test case showing where this is causing problems? |
In the document below, if its loaded as is, the dialog box will be hidden and only appears when the button is clicked. If the stylesheet link is uncommented, the dialog box will appear when the page loads.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See this line
bootstrap/dist/css/bootstrap-reboot.css
Line 27 in 8f7bd41
It seems that this is causing the contents of the
<dialog>...</dialog>
to be rendered when the page is loaded. If bootstrap is not used, it will hide the contents untilmyDialog.showModal()
is called.The text was updated successfully, but these errors were encountered: