bug(COMPONENT): Global density cant be set in angular material 15 mdc
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
### 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
v14.2.7
### Description
New input fields appear super big compared to previous versions.
Setting global density does not work:
@include mat.all-component-densities('maximum');
or
@include mat.all-component-densities(-3);
or setting it directly inside the theme.
It all does not have any effect.
### Reproduction
Steps to reproduce:
1. use angular material 15
2. use any kind of text input
3. try making it smaller by setting global density higher
### Expected Behavior
Form fields scaling up or down in size
### Actual Behavior
No effect
### Environment
- Angular: 15.0.3
- CDK/Material: 15.0.2
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): macOS
Guía de contribución
Línea de trabajo
Empieza reproduciendo el problema en Angular 15 con un campo de texto y el mixin documentado mat.all-component-densities, incluida la configuración a nivel de tema. Sigue los puntos de entrada de densidad y tema para determinar por qué la configuración no tiene ningún efecto; se considera terminado cuando los campos de formulario aumentan o reducen visiblemente su tamaño como se espera.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 42/100