Skip to content

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

Open
@calebkish

Description

@calebkish

Is this a regression?

  • 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://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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/table

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions