angular / angular/components

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

Ouverte
#26,730 2 commentaires 3 réactions 0 personnes assignées Voir sur GitHub
area: material/table P3
Langage dominant
TypeScript
Étoiles
25k
Forks
6.8k
Merge moyen
1 j 8 h
PR mergées (30 j)
91

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Exécutez la reproduction StackBlitz liée et commencez par src/app/table-sticky-columns-example.html, en vous concentrant sur le tableau à colonnes sticky avec le thème sombre personnalisé. Reproduisez le problème en faisant défiler horizontalement et en survolant une ligne ; c’est terminé lorsque la ligne survolée de la colonne sticky est opaque et qu’aucune colonne sous-jacente n’est visible dans Chrome et Firefox.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
42/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.