angular / angular/components

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

オープン
#26,730 コメント 2 件 リアクション 3 件 担当者 0 名 GitHub で見る
area: material/table P3
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

リンクされた StackBlitz の再現を実行し、src/app/table-sticky-columns-example.html から始めて、カスタムダークテーマの sticky-column table に注目してください。水平方向にスクロールして行にカーソルを合わせ、問題を再現します。Chrome と Firefox で、ホバーした行の sticky column が不透明になり、下にある列が透けて見えなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。