Skip to content

MatTabGroup pagination chevron incorrect color when using backgroundColor property #22587

Closed
@MarkoSkugor

Description

@MarkoSkugor

What is the expected behavior?
mat-tab-group pagination chevron should be correct contrast color

What is the current behavior?
https://stackblitz.com/angular/manempdpqjo?file=src%2Fapp%2Ftab-group-theme-example.ts

CSS selector for mat-tab-header-pagination-chevron is broken for mat-tab-group and only works for mat-tab-nav-bar

Screenshot from Angular Material docs example:
image

This selector specifically is broken as .mat-tab-header-pagination is not a direct child of .mat-tab-group
image

What are the steps to reproduce?
go to this stackblitz and shrink screen on blue background mat-tab-group until the pagination chevrons appear
https://stackblitz.com/angular/manempdpqjo?file=src%2Fapp%2Ftab-group-theme-example.ts

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
11 (confirmed this was working in 10), all browsers and OS affected

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/tabsgood first issueThis issue is a good place to start for first time contributors to the projecthelp wantedThe team would appreciate a PR from the community to address this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions