-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
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-listwith one or moremat-grid-tileitems. - Place a standard
mat-form-fieldwithmatInputinside a tile. - Open the page in the browser.
- Increase browser zoom to 125% or more.
Reproduction
Reproduction
- Create a
mat-grid-listwith one or moremat-grid-tileitems. - Place a standard
mat-form-fieldwithmatInputinside 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