-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Add option to disable dialog click-outside-to-close #1419
Comments
Dup of #114 |
@jcmoore0, Your issue is a bit hard to read. Maybe separating your answers from the questions (so they are not bold) will make it easier. Also, a more descriptive title would be good. As far as I can tell this is not a duplicate.
Is there a way to avoid having multiple dialog boxes on top of each other? |
Adds the ability to disable the clicking on a backdrop to close a dialog. Fixes angular#1419.
Adds a config option that allows users to disable closing a dialog via a backdrop click or pressing escape. Fixes angular#1419.
Adds a config option that allows users to disable closing a dialog via a backdrop click or pressing escape. Fixes angular#1419.
Adds a config option that allows users to disable closing a dialog via a backdrop click or pressing escape. Fixes angular#1419.
Adds a config option that allows users to disable closing a dialog via a backdrop click or pressing escape. Fixes #1419.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal: Feature
What is the expected behavior? Would like a "Modal" behavior where the Dialog does not close when clicking outside of the container.
What is the current behavior? Clicking outside the dialog container closes MdDialogRef. I would like to be able to turn disable this, so the user may not click outside and is only allowed to interact with the most recent "highest z-index" MdDialog open. We use one dialog on top of another.
What are the steps to reproduce? Click outside the dialog container.
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: