question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Tabs] Allow tabs to show vertical labels

See original GitHub issue

Bug, feature request, or proposal:

proposal

What is the expected behavior?

It display horizontally in any case and I can`t change this behavior from css or even code. I want display it in this way: http://joxi.net/8An96qkiPVGe2O

What is the use-case or motivation for changing an existing behavior?

Sometimes I need to display sidenav (but designed as tabs) aligned to center or as part of inner block, but in column layout. It would be great add some property for tabs such as direction

Is there anything else we should know?

In addition, I used tabs for navigation between routes:

<nav md-tab-nav-bar>
  <a md-tab-link
     *ngFor="let link of navLinks"
     [routerLink]="link"
     routerLinkActive #rla="routerLinkActive"
     [active]="rla.isActive">
    {{tabLink.label}}
  </a>
</nav>

I made this possible in this way:

.mat-tab-links {
		display: flex;
		position: relative;
		flex-direction: column; //can`t change this filed by myself
	}

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:52
  • Comments:19 (1 by maintainers)

github_iconTop GitHub Comments

31reactions
frankspin89commented, Mar 5, 2017

Vertical tabs aren’t part of Material Layout Guidelines. So I don’t see any reason to include this feature to Material2 library? (https://material.io/guidelines/components/tabs.html)

Is there any reason why you don’t use a menu component or list component?

18reactions
jpike88commented, May 2, 2019

Vertical tabs aren’t part of Material Layout Guidelines. So I don’t see any reason to include this feature to Material2 library

How about the reason that it’s in high demand, and there’s a clear use case for it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to activate vertical tabs on your favorite browser
Click on it to show or hide the vertical tab list. You can also click the pin icon on the actual vertical tabs...
Read more >
JavaFX: Formatting a TabPane with Vertical Tabs and ...
I'll answer my own question since I found a solution, and to provide an example. Using the FXML approach from the question.
Read more >
Pinned Tabs in Vertical Layout - Microsoft Community Hub
I know the position and icon of my pinned tabs and don't need to see the full text label. Since there are others...
Read more >
Vertical Tabs - Lightning Design System
The Vertical Tabs component serves as a container to show groups of content, divided into tabs. Each tab label should correspond with a...
Read more >
How To Use Vertical Tabs In Microsoft Edge - Into Windows
One of the main benefits of switching to vertical tabs from the default or conventional horizontal tabs is that we can see more...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found