角度材质2 - 输入框未按预期正确渲染

时间:2018-04-07 10:36:14

标签: html angular angular-material2 angular-flex-layout

我使用角度材料2进行角度4应用以及角度柔性布局。以下是简单的表格

<div fxLayoutGap="5px" fxLayout="column">
      <mat-form-field class="full-width">
        <input matInput placeholder="Email Id" type="text" [(ngModel)]="emailId">
      </mat-form-field>

      <mat-form-field class="full-width">
        <input matInput placeholder="Password" type="password" [(ngModel)]="password">
      </mat-form-field>

      <mat-form-field class="full-width">
        <input matInput placeholder="Confirm Password" type="password">
      </mat-form-field>
...
</div>

enter image description here

有时它会显示基线,但有时它的行为不符合预期。我尝试了几乎所有的浏览器,但仍面临同样的问题。

当您减少/增加浏览器的大小时,它会受到影响。

  

由于输入类型是密码

,因此没有发生

0 个答案:

没有答案
相关问题