我有一個包含使用角材料的墊選擇組件的下拉列表的表單。<mat-select multiple (selectionChange)="onFilter($event)"> <mat-option *ngFor="let section of someDropdown" [value]="section"> {{section}} </mat-option></mat-select><button class="some-button" (click)="doSomething()>Click Me</button>打開下拉菜單后,我無法單擊其外部的任何元素(即按鈕)。我首先需要單擊下拉列表的外部以將其關閉,然后才能與其他控件進行交互。有沒有一種方法可以禁用此組件的模糊效果(因此在下拉列表打開時我可以單擊一個按鈕)?
如何禁用角度材質(zhì)下拉菜單上的模糊
慕村225694
2021-05-07 16:20:23