angular / angular/components

bug(material/table): fixedLayout not applied

Abierto
#26,565 9 comentarios 4 reacciones 0 asignados Ver en GitHub
area: material/table P3
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?

- [X] Yes, this behavior used to work in the previous version

### The previous version in which this bug was not present was

14.2.0

### Description

If the attribute fixedLayout is set, the styling is not applied. The corresponding css classes are, but the style not. Table layout is always set to auto.

### Reproduction

Steps to reproduce:
1. set fixedLayout to true
2. Check the style of table

### Expected Behavior

The table-layout: fixed style is applied

### Actual Behavior

The table-layout: auto style is applied, wenn fixedLayout is true

### Environment

- Angular:15.1.1
- CDK/Material:15.1.1
- Browser(s):Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): MacOs

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

En el issue no se menciona ningún archivo ni prueba. Reproduce el problema en Angular 15.1.1 con una tabla de Material y fixedLayout establecido en true, y luego sigue la implementación de la tabla y sus estilos; se considera terminado cuando la tabla usa table-layout: fixed en lugar de auto y se restaura el comportamiento de regresión existente.

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
Bien especificado
Aptitud para principiantes
50/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.