Use [overlapTrigger] in toolbar menus

This commit is contained in:
Sercan Yemen 2018-01-08 12:40:25 +03:00
parent b56088948c
commit 65e637eeb9

View File

@ -36,7 +36,7 @@
</div> </div>
</button> </button>
<mat-menu #userMenu="matMenu"> <mat-menu #userMenu="matMenu" [overlapTrigger]="false">
<button mat-menu-item> <button mat-menu-item>
<mat-icon>account_circle</mat-icon> <mat-icon>account_circle</mat-icon>
@ -70,7 +70,7 @@
</div> </div>
</button> </button>
<mat-menu #languageMenu="matMenu"> <mat-menu #languageMenu="matMenu" [overlapTrigger]="false">
<button mat-menu-item *ngFor="let lang of languages" (click)="setLanguage(lang)"> <button mat-menu-item *ngFor="let lang of languages" (click)="setLanguage(lang)">
<div fxLayout="row" fxLayoutAlign="start center"> <div fxLayout="row" fxLayoutAlign="start center">