-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue
Description
Reproduction
StackBlitz: https://stackblitz.com/edit/components-issue-bde981
Steps to reproduce:
- Click on the
Doesn't Workbutton to open the dialog - Hit enter
Expected Behavior
In the working example hitting enter submits the form and in this case, closes the dialog. I wouldn't expect that adding
the MatDialogClose directive in place of the click method would change that.
Actual Behavior
Adding MatDialogClose prevents the form from being submitted when hitting enter and not having the button focused.
Environment
- Angular: 8.0.0
- CDK/Material: 8.0.0
- Browser(s): Chrome 76.0
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
makiJS
Metadata
Metadata
Assignees
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue