Angular Material Tabs SelectedIndex 0 not working
My tab was selected but the styling did not update. I had to set:
.mat-tab-label-active {
opacity: 1;
}
I also had to set: encapsulation: ViewEncapsulation.None // inside @Component
it's a bug but you can use 2 ways data binding, it works
<md-tab-group [(selectedIndex)]="value">