angular / angular/components

bug(material/table): Row of sticky column is transparent on hover in custom dark theme

Aperta
#26,730 2 commenti 3 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.7

### Description

![mat-table-bug](https://user-images.githubusercontent.com/37940332/223190978-6cf1b4f2-7dbe-4433-b21e-091e55bb407b.gif)

https://stackblitz.com/edit/angular-nhbxgc?file=src/app/table-sticky-columns-example.html

### Reproduction

Steps to reproduce:
1. Custom material dark theme is applied
2. In table that has a sticky column, try horizontal scrolling.
3. The hover row in the sticky column is transparent so other columns show beneath it.

### Expected Behavior

I expect the hovered row of the sticky column to not be transparent in a custom dark theme.

### Actual Behavior

The hovered row of the sticky column is transparent in a custom dark theme.

### Environment

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Esegui la riproduzione StackBlitz collegata e inizia da src/app/table-sticky-columns-example.html, concentrandoti sulla tabella con colonne sticky e il tema scuro personalizzato. Riproduci il problema scorrendo orizzontalmente e passando il cursore su una riga; il lavoro è completato quando la riga sottoposta a hover della colonna sticky è opaca e in Chrome e Firefox non si vedono le colonne sottostanti.

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
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.