Skip to content

bug(mat-tab-group): mat-tab-group alignment not working when inside another #19035

Closed
lingounet/testage
#29

Description

@wweitzel

Reproduction

Here is a working stackblitz
https://stackblitz.com/edit/tabgroup-inside-tabgroup-alignment

In this example there is an outer mat-tab-group with two inner tab groups. The outer tab group has mat-align-tabs="center" and the first inner tab group has mat-align-tabs="start" but the first inner tab group is not aligned at the start. The second inner tab group with mat-align-tabs="end" is correct.

Expected Behavior

The first inner tab group should be left aligned since it is marked with mat-align-tabs="start"

Actual Behavior

The first inner tab group is aligned center.

Environment

See image

  • Angular:
  • CDK/Material:
  • Browser(s):
  • Operating System (e.g. Windows, macOS, Ubuntu):

image

Activity

  1. added
    needs triage
    on Apr 9, 2020
  2. changed the title [-]bug([mat-tab-group]): [mat-tab-group alignment not working when inside another][/-] on Apr 9, 2020
  3. self-assigned this
    on Apr 10, 2020
  4. added
    P3
    and removed
    needs triage
    on Apr 10, 2020
  5. added a commit that references this issue on Apr 10, 2020
    f818bc4
  6. added 2 commits that reference this issue on Apr 20, 2020
    5224ac2
    59a5786
  7. added a commit that references this issue on Apr 24, 2020
    3916b63
  8. angular-automatic-lock-bot commented on May 21, 2020

    @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.

  9. locked and limited conversation to collaborators on May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions