bug(form-field): mat-label overlap mat-suffix
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
### Is this a regression?
- [X] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
15.x
### Description
When the mat-label is too long, it overlap the mat-suffix of the mat-form-field.
### Reproduction
- Create a mat-form-field
- Place a mat-suffix inside of it
- Place a long mat-label inside of it
### Expected Behavior

### Actual Behavior

### Environment
- Angular: 17.x
- CDK/Material: Material
- Browsers: Firefox & Google Chrome
- Windows
Contributor guide
Research direction
Reproduce a mat-form-field containing a mat-suffix and a long mat-label using Angular 17, then compare the result in Firefox and Chrome with the reported Angular 15 behavior. Done means the label no longer overlaps the suffix while the form-field remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100