Skip to content

[Tabs] Pagination shown when tabs change but the tab label text does not #16789

Closed
lingounet/testage
#29
@timbell

Description

@timbell

Reproduction

https://stackblitz.com/edit/mat-tab-pagination-problem?file=src/app/app.component.ts

Steps to reproduce:

  1. 3 tabs are displayed with no pagination (tab group width is set to 600px)
  2. Click on the New tabs button at least twice
  3. Pagination is displayed
  4. Clicking on the New tabs with different names button displays new tabs without any pagination

Expected Behavior

New tabs displayed without any pagination

Actual Behavior

Pagination show after new tabs with the same text created

Environment

  • Angular: 8.2.2
  • CDK/Material: 8.1.3
  • Browser(s): Chrome, Firefox, Safari, Edge, IE
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows, Android, iOS

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions