【发布时间】:2020-05-27 21:14:29
【问题描述】:
我在我的应用程序中使用 mat-selection-list 和 100 多个带有复选框的选项,它在 chrome、firefox 和 edge 中工作,但在 IE11 中它非常慢并且挂起。
这里是示例代码:
<mat-selection-list #options [(ngModel)]="selectOptions" [compareWith]="compareFunction" (selectionChange)="onOptionSel($event)">
<mat-list-option *ngFor="let cio of ciOptions" checkboxPosition="before" [value]="cio" aria-label="cio">
{{cio.label}}
【问题讨论】:
-
您缺少示例代码
-
您提供的信息很难帮助您解决问题。尽量让其他人更容易重现/分析您的问题。提供更多上下文和更多代码,不要忘记提出问题。
标签: angular performance angular-material internet-explorer-11