angular / angular/components

No underline on active link with multiple <md-tab-group>

Open
#7,274 31 comments 11 reactions 0 assignees View on GitHub
area: material/tabs P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### Bug, feature request, or proposal:

Bug
Plunk: https://plnkr.co/edit/qyKDATOdTb0msRnYjbbe?p=preview (thanks @julianobrasil)

Use multiple `` and `` imbricated => lost the underline on active ``

This is an example:

```






// I select this tab

// Here NO UNDERLINE COLOR UNTIL I CLICK ON IT






```

Picture:
![image](https://user-images.githubusercontent.com/6093175/30775725-a633cd58-a099-11e7-84cf-d7ecfa3e532d.png)

#### What is the expected behavior?
An underline on the active item

#### What is the current behavior?
No underline for the active tab. See the snippet code mentioned before.

#### What is the use-case or motivation for changing an existing behavior?
I need to have two ` and ` imbricated for my needs

Maybe I don't use them correctly. I let you to say me about it.

Thank you in advance

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.4.3
OS: Windows 7 Pro 64 bits
TS: 2.4.1
Material: 2.0.0-beta.11
Browser: Chrome V60

#### Is there anything else we should know?
Nothing else

Contributor guide

Open the contributing guide

Research direction

Start by running the linked Plunk with the nested md-tab and md-tab-group example, then compare the selected outer and inner tabs in the affected Angular Material version. Done means the active nested md-tab consistently shows its underline without requiring a second click, while existing tab behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.