angular / angular/components

bug(material/table): fixedLayout not applied

Aperta
#26,565 9 commenti 4 reazioni 0 assegnatari Vedi su GitHub
area: material/table P3
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Nell'issue non sono indicati file né test. Riproduci il problema in Angular 15.1.1 con una tabella Material e fixedLayout impostato su true, quindi traccia l'implementazione della tabella e il relativo stile; il lavoro è completato quando la tabella usa table-layout: fixed invece di auto e il comportamento di regressione esistente viene ripristinato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
50/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.