bug(option): mat-options with long text lack of gap since v15 #26701
Labels
area: material/select
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
regression
This issue is related to a regression
Is this a regression?
The previous version in which this bug was not present was
14
Description
Before v15,
mat-option
s with long text were truncated so their height was always 48px and naturally, a gap was there to well separate each option.Now the text is no more truncated but a min-height of 48px is applied. If the text of a
mat-option
take only one line the gap remains and there is no problem. But with 2 lines of more, the gap is no more and reading becomes more difficultReproduction
https://stackblitz.com/edit/angular-hjwez5?file=src/styles.scss
Expected Behavior
Actual Behavior
Environment
The text was updated successfully, but these errors were encountered: