-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
I would expect focus to go to the first button in the overlay menu.
What is the current behavior?
If I navigate to a simple overlay menu via keyboard and enter it, focus goes to the first button that doesn't contain an ngIf attribute, regardless of if the ngIf conditional is true.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-zf82u8
- Go to https://angular-zf82u8.stackblitz.io/
- Tab to the button, then hit the space bar.
Note that focus goes to the second button instead of the first.
Metadata
Metadata
Assignees
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent