Skip to content

Nav Tabs line acts strange #3754

Closed
Closed

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

Activity

  1. willshowell commented on Mar 24, 2017

    @willshowell
    Contributor

    Looks like a dupe of #3495

  2. willshowell commented on Mar 30, 2017

    @willshowell
    Contributor

    @mbeckenbach with #3622 landed, are you still seeing the issue?

  3. mbeckenbach commented on Mar 31, 2017

    @mbeckenbach
    Author

    @willshowell As far as i understand this, it should be fixed in master? At the moment i can't update my app from beta.2 to something newer for deadline reasons.

  4. willshowell commented on Mar 31, 2017

    @willshowell
    Contributor

    Yes, it should be fixed in master. I say should because that PR was really set out to solve a different issue with layout direction changes, but I'm not able to replicate the issue anymore using a Plunker based on master.

  5. jelbourn commented on Apr 9, 2017

    @jelbourn
    Contributor

    Closing this as "suspected to be fixed". Feel free to re-open if it's still an issue.

  6. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  7. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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