Replies: 1 comment
-
You can turn off default cancelation gestures like clicking on the scrim, pressing escape, or performing a mobile back gesture by calling html`
<md-dialog
@cancel=${event => event.preventDefault()}
@close=${this.handleClose}
>...</md-dialog>
`; This is useful for critical dialogs that require a user choice. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I hope to add a attribute in the future to allow the user to click on the outer to dismiss or not.
Another thing I found is that my CSS reset (the * selector) will directly affect the top-level style of the component style. Why?😂
Beta Was this translation helpful? Give feedback.
All reactions