Microsoft Edge中textarea中的角度键入超级慢

时间:2019-02-12 10:59:59

标签: javascript angular angular-material

我在使用angular 7的应用程序中工作,该应用程序基本上是一块带有列的板,每列都有一张卡片列表(Todos或任务),单击这些列还会有一些过滤器和排序该卡将打开该卡的详细信息部分,用户将可以在其中添加注释和其他一些东西,由于某些原因(在Microsoft Edge中(不幸的是,我需要给予支持)),在textarea中键入内容或任何其他内容其他输入确实很慢(以防万一我为那些组件使用角形材料)。 enter image description here enter image description here

textare只是普通的棱角材质textarea:

文本区域模板

  <mat-form-field>
    <textarea matInput
      [placeholder]="configService.translate('cxBacklog.backlog_detail.chat.input.placeholder_Text')"
      #newMessage matTextareaAutosize="true" matAutosizeMinRows="5" matAutosizeMaxRows="8"
      [ngClass]="newMessage.clientHeight == 298 ? 'comments-scollbar-enabled' : ''"
      [disabled]="backlogItem.readonly && !configService.checkBoardType(boardItemType.MyBoard)"
      (paste)="onPasteOfText($event)"></textarea>
  </mat-form-field>

0 个答案:

没有答案
相关问题