Skip to content

Nav Tabs line acts strange #3754

Closed
Closed
@mbeckenbach

Description

@mbeckenbach

Bug, feature request, or proposal:

Right after initializing the component the bottom line of the tab has a wrong size;

image

As soon as you navigate to the second tab (DRV in my screenshot) and then back to the first one the line has the correct size;

image

Tabs are initialized like this:
<a md-tab-link
*ngFor="let c of clusters"
[routerLink]="[c.id]"
routerLinkActive #rla="routerLinkActive"
[active]="rla.isActive">
{{c.name}}

What is the expected behavior?

Line should habe the correct size

What is the current behavior?

See screenshots

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

NG 2.3.1
Material 2.0.0-beta.2

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