We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b5d538 + 3e38c34 commit e1d9edcCopy full SHA for e1d9edc
src/dialog/overflow-menu/overflow-menu-pane.component.ts
@@ -106,8 +106,8 @@ export class OverflowMenuPane extends Dialog {
106
clickClose(event) {
107
// Opens menu when you click on the menu button and stays open when navigating through the options
108
if (this.dialogConfig.parentRef.nativeElement.firstChild.contains(event.target) ||
109
- this.listItems().some(button => button === (event.relatedTarget)) ||
110
- (event.type === "focusout" && event.relatedTarget === this.dialogConfig.parentRef.nativeElement)) {
+ this.listItems().some(button => button === event.relatedTarget) ||
+ event.type === "focusout" && event.relatedTarget === this.dialogConfig.parentRef.nativeElement) {
111
return;
112
}
113
this.doClose();
0 commit comments