Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

tabs: with "md-center-tabs" has layout issues #11566

Closed
GulajavaMinistudio/material
#98
@RostYanevych

Description

@RostYanevych

Bug, enhancement request, or proposal:

md-tabs with md-center-tabs="true" does not show tabs at all. It's easy to reproduce on md-tabs demo by just adding md-center-tabs="true" to <md-tabs> tag.

CodePen and steps to reproduce the issue:

https://codepen.io/anon/pen/vvmQPg

Detailed Reproduction Steps:

  1. Use the markup
<md-tabs md-dynamic-height="" md-border-bottom="" md-center-tabs="true">...

What is the expected behavior?

tabs are shown centered

What is the current behavior?

tabs are not shown at all. In some cases they are shown on the right side of container

Which versions of AngularJS, Material, OS, and browsers are affected?

  • AngularJS: 1.7.5
  • AngularJS Material: 1.1.11
  • OS: Win 7 x64
  • Browsers: Firefox, IE-11

Is there anything else we should know? Stack Traces, Screenshots, etc.

It's working well in angular-material version 1.1.10

Metadata

Metadata

Assignees

Labels

P1: urgentUrgent issues that should be addressed in the next minor or patch release.has: Pull RequestA PR has been created to address this issueresolution: fixedseverity: regressionThis issue is related to a regressiontype: bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions