bug(mat-form-field): when using appearance="outline", input fields increases in height.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### 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
_No response_
### Description
When using mat-form-field with appearance="outline", text input field increases in height after entering a text
Reproduces on mobile devices with iOS 17+
### Reproduction
Steps to reproduce:
1. Open Safari 17 on a mobile device (it is the default browser for iOS 17)
2. Open Angular Material Page at https://material.angular.io/components/form-field/overview
3. Find Outline form field
4. Enter any text. Probably need to clear the field and enter the text again.
### Expected Behavior
The height of the field should be the same as the field without text

### Actual Behavior
The field height is different compared to the field without text

### Environment
- Angular: 15-17
- CDK/Material: 15-17
- Browser(s): mobile Safari 17
- Operating System iOS 17.1.2
Beitragsleitfaden
Rechercherichtung
Beginne damit, das Problem auf der Angular Material form-field overview page in mobile Safari 17 zu reproduzieren, indem du ein outline form field verwendest und seine Höhe vor und nach der Eingabe von Text vergleichst. Erledigt ist die Aufgabe, wenn das outlined input unter iOS 17+ mit und ohne Text dieselbe Höhe beibehält und die Regression durch einen geeigneten Projekttest abgedeckt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100