Skip to content

mat tab inside tab selected index not working  #9108

@sorb999

Description

@sorb999

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When tab inside tab then if selected index of sub tab is 1 then it should show as selected.

What is the current behavior?

Let parent tab has two tabs, it has selectedIndex is 0, and sub tab inside parent tab1 has selectedIndex = 1 then content inside it showing but is not showing as selected.

What are the steps to reproduce?

Providing a StackBlitz https://stackblitz.com/edit/angular-e3m6wb?file=app/tabs-overview-example.html

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

All versions and browser

Metadata

Metadata

Assignees

No one assigned

    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