Material: Feature request for mdTabs/mdTab: async tab switching

Created on 30 Mar 2016  路  2Comments  路  Source: angular/material

Right now the tab switching is synchronous, with mdOnDeselect and mdOnSelect evaluation for deselected and selected tabs respectively.

I think it would be useful to have an option of asynchronous switching, when the mdOnDeselect or/and mdOnSelect return a promise, which can be resolved or rejected. In case of rejection the switching is canceled. It's also nice to show a loading indicator while the promise is being resolved.

Most helpful comment

It is very easy to close the issue. In other words, you are saying "don't use angular material".

We have very complicated form consisting of a set of tabs, each of them has some async functionality. This functionality is impossible to implement with tabs which does not support async switch.

Think about consistency. Part of the controls do support async mode of work, others do not.
I am very disappointed. Today I do not see how the Angular Material can be a part of some serious application.

All 2 comments

This issue is closed as part of our deprecation effort.
For details, see our post Spring Cleaning 2016.

It is very easy to close the issue. In other words, you are saying "don't use angular material".

We have very complicated form consisting of a set of tabs, each of them has some async functionality. This functionality is impossible to implement with tabs which does not support async switch.

Think about consistency. Part of the controls do support async mode of work, others do not.
I am very disappointed. Today I do not see how the Angular Material can be a part of some serious application.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rtprakash picture rtprakash  路  3Comments

sbondor picture sbondor  路  3Comments

Dona278 picture Dona278  路  3Comments

robertmesserle picture robertmesserle  路  3Comments

ghost picture ghost  路  3Comments