You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
In tabs demo one can see the text:
If you set the selected tab binding to -1, it will leave no tab selected.
But in reality this is not true. The work around before was to set md-selected="-2" to get no tab selected, but this doesn't work too in latest angular-material, because of:
$scope.selectedIndex = getNearestSafeIndex(newValue);
and getNearestSafeIndex will always select 0 tab if md-selected is negative.
Please support the case when no tab is selected, we need it.
The text was updated successfully, but these errors were encountered:
In tabs demo one can see the text:
If you set the selected tab binding to -1, it will leave no tab selected.
But in reality this is not true. The work around before was to set md-selected="-2" to get no tab selected, but this doesn't work too in latest angular-material, because of:
$scope.selectedIndex = getNearestSafeIndex(newValue);
and getNearestSafeIndex will always select 0 tab if md-selected is negative.
Please support the case when no tab is selected, we need it.
The text was updated successfully, but these errors were encountered: