Is this a regression?
The previous version in which this bug was not present was
No response
Description
When a basic mat-form-field is placed inside a mat-grid-tile, increasing the browser zoom
(e.g. 125%, 150%, 175%) causes the mat-form-field to grow, but the tile keeps the same
computed bounds. As a result, the form field outline gets clipped.
This makes mat-grid-list unreliable for simple form layouts using Angular Material components.
Reproduction
- Create a
mat-grid-list with one or more mat-grid-tile items.
- Place a standard
mat-form-field with matInput inside a tile.
- Open the page in the browser.
- Increase browser zoom to 125% or more.
Reproduction
Reproduction
- Create a
mat-grid-list with one or more mat-grid-tile items.
- Place a standard
mat-form-field with matInput inside a tile.
- Open the page in the browser.
- Increase browser zoom to 125% or more.
Expected Behavior
Expected behavior
The mat-grid-tile should accommodate the rendered size of the Material form field,
or the documentation should clearly state that mat-grid-list is not intended for form layouts
with dynamic-height controls like mat-form-field.
Actual Behavior
Current behavior
The mat-form-field expands visually, but the tile does not adapt its size accordingly.
The field border/outline is cut off by the tile bounds.
Environment
Angular: 21.x
Angular Material: 21.x
Browser: Chrome
OS: Windows
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When a basic
mat-form-fieldis placed inside amat-grid-tile, increasing the browser zoom(e.g. 125%, 150%, 175%) causes the
mat-form-fieldto grow, but the tile keeps the samecomputed bounds. As a result, the form field outline gets clipped.
This makes
mat-grid-listunreliable for simple form layouts using Angular Material components.Reproduction
mat-grid-listwith one or moremat-grid-tileitems.mat-form-fieldwithmatInputinside a tile.Reproduction
Reproduction
mat-grid-listwith one or moremat-grid-tileitems.mat-form-fieldwithmatInputinside a tile.Expected Behavior
Expected behavior
The
mat-grid-tileshould accommodate the rendered size of the Material form field,or the documentation should clearly state that
mat-grid-listis not intended for form layoutswith dynamic-height controls like
mat-form-field.Actual Behavior
Current behavior
The
mat-form-fieldexpands visually, but the tile does not adapt its size accordingly.The field border/outline is cut off by the tile bounds.
Environment
Angular: 21.x
Angular Material: 21.x
Browser: Chrome
OS: Windows