Skip to content

Commit e1d9edc

Browse files
committed
Merge branch 'overflow' of https://github.com/youda97/carbon-components-angular into overflow
2 parents 5b5d538 + 3e38c34 commit e1d9edc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dialog/overflow-menu/overflow-menu-pane.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ export class OverflowMenuPane extends Dialog {
106106
clickClose(event) {
107107
// Opens menu when you click on the menu button and stays open when navigating through the options
108108
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)) {
109+
this.listItems().some(button => button === event.relatedTarget) ||
110+
event.type === "focusout" && event.relatedTarget === this.dialogConfig.parentRef.nativeElement) {
111111
return;
112112
}
113113
this.doClose();

0 commit comments

Comments
 (0)