Skip to content

mat-tab-group doesn't show styles for default tab selected #9540

@ATakaSKY

Description

@ATakaSKY

What is the current behavior?

There are three tabs:label1, label2 and label3. Inside each one of them there is another set of tabs. Now by default label1 shows the selected style as well as tab1 inside of it. Now once I click on another label like label 2 another set of tab loads but none of them shows tab label highlighted. Same goes for label3. I explicitly have to click on the tabs to see the styles.

What is the expected behavior?

Tab labels inside of label 2 and label 3 should also show highlighted tab labels.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-tyjslw?file=app/tabs-template-label-example.html

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions