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.

Single tab in material design #1626

@gkohen

Description

@gkohen

Hi,

I'm working on a tabs container that starts as a single tab and as you keep interacting with the application, you keep adding more. Problem is that when you have only one tab, the ink bar does not show up. Is that by design? I could not find reference to this case in the material guidance for when you'd use dynamic tabs. The code in Angular Material checks the following:

var hideInkBar = !selected || tabsCtrl.count() < 2 || mdNoBar;

Should this behavior be at least configurable?

Thanks
-Gabriel

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions