-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/select
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
For a MatSelect without a MatLabel present, the select override --mat-select-arrow-transform
is not applied, as the CSS transform field is overridden by transform: none
.
https://screenshot.googleplex.com/8m8x9LWnqXgGJyW
Reproduction
StackBlitz link: https://stackblitz.com/edit/components-issue-starter-ehh29ebf?file=src%2Fmain.ts
Steps to reproduce:
- Create a mat-select
- Do not add a mat-label
- Apply style override
arrow-transform
in styles
Expected Behavior
The arrow to be transformed (in the StackBlitz example, both form fields should have the arrow rotated 180 degrees).
Actual Behavior
The arrow transform is only applied if a mat-label is present, as seen in the StackBlitz - the first mat-select has the transform applied, the second does not.
Environment
- Angular: 19.0.0
- CDK/Material: 19.0.0
- Browser(s): Google Chrome 140.0.7339.80 (Official Build) (64-bit)
- Operating System (e.g. Windows, macOS, Ubuntu): Linux
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/select