You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ound
Moves focus onto the `md-dialog-container`, if it doesn't contain any focusable elements. The reasoning behind this change is that not moving focus at all will leave the user behind on the dialog trigger, allowing them to be able to tab behind the dialog.
Fixesangular#6513.
Bug, feature request, or proposal:
Dialogs will stack on top of each other if you press enter repeatedly
What is the expected behavior?
focus should be lost on the button opening the dialog after the dialog is opened.
What is the current behavior?
Dialogs continue to stack
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
Focus shouldn't be on the button that was clicked to open anymore.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Tested to happen on chrome 59 on material.angular.io site.
Is there anything else we should know?
If this is expected behavior, there should be a configurable option to disable this.
The text was updated successfully, but these errors were encountered: