Open
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
mat.datepicker-density not working like mat.form-field-density and datepicker is bigger than form field.
Reproduction
StackBlitz link: https://stackblitz.com/edit/unglus?file=src%2Fexample%2Fdatepicker-overview-example.html
Steps to reproduce:
- add density to a form and inline fields with a date picker
- they will be different
Expected Behavior
same density should match
Actual Behavior
density of picker doesn't match input density
Environment
"@angular/animations": "^17.0.0-rc.0",
"@angular/cdk": "16.2.11",
"@angular/common": "^17.0.0-rc.0",
"@angular/compiler": "^17.0.0-rc.0",
"@angular/core": "^17.0.0-rc.0",
"@angular/forms": "^17.0.0-rc.0",
"@angular/material": "16.2.11",
"@angular/material-moment-adapter": "16.2.11",
"@angular/platform-browser": "^17.0.0-rc.0",
"@angular/platform-browser-dynamic": "^17.0.0-rc.0",
"@angular/router": "^17.0.0-rc.0",
"@angular/ssr": "^17.0.0-rc.0",
"moment": "^2.18.1",