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

Few issues with tabs #2837

Closed
gio82 opened this issue May 13, 2015 · 3 comments
Closed

Few issues with tabs #2837

gio82 opened this issue May 13, 2015 · 3 comments
Assignees
Milestone

Comments

@gio82
Copy link

gio82 commented May 13, 2015

I'm dealing with few issues with tabs.
Here below a brief description:

  • Removing a tab do not call md-on-select
  • Dynamically changing the tab label does not update the DOM
  • When async loading some tabs the ink bar does not update his length

Plus I think that you should add a method that allows to change tab via javascript.

@epelc
Copy link
Contributor

epelc commented May 13, 2015

@gio82 on the last note if you set md-selected="selectedIndex" on md-tabs you can change selectedIndex to switch between tabs.

I think the last bullet has to do with tabs not playing well with ng-if`s or dynamically adding/remove tabs see #2291

@gio82
Copy link
Author

gio82 commented May 13, 2015

Thanks for your help @epelc !

@patriknyd
Copy link

+1

/ med vänlig hälsning
Patrik Nydensten

----- Reply message -----
From: "gio82" notifications@github.com
To: "angular/material" material@noreply.github.com
Subject: [material] Few issues with tabs (#2837)
Date: Wed, May 13, 2015 11:01

I'm dealing with few issues with tabs.

Here below a brief description:

Removing a tab do not call md-on-select

Dynamically changing the tab label does not update the DOM
When async loading some tabs the ink bar does not update his length

Plus I think that you should add a method that allows to change tab via javascript.


Reply to this email directly or view it on GitHub.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants