Steps to reproduce:
Have the same alignment as the Button input's suffix.
It's misaligned
You can solve this, this way -
<mat-form-field appearance="fill">
<mat-label>Link</mat-label>
<input matInput placeholder="Placeholder" />
<button onclick="window.open('www.google.com', '_blank');" mat-icon-button matSuffix>
<mat-icon>open_in_new</mat-icon>
</button>
</mat-form-field>
Hi @Totati!
I created the PR for this.
Temporarily, you can apply the identical fix by adding below on styles.scss.
.mat-icon-button {
display: flex !important;
justify-content: center;
align-items: center;
}
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Hi @Totati!
I created the PR for this.
Temporarily, you can apply the identical fix by adding below on
styles.scss.