DEV Community

loading...

Angular Material tabs - custom body BG color + animation issue (SOLVED)

Maciej Manista
・1 min read

Alt Text

Do you want to set a custom background color for your mat-tab's body section?
Set it for mat-tab-body-wrapper element only.
If you set it for mat-tab-body element, it will break the animation between the tabs - it has to stay transparent.

Discussion (0)