Skip to content Skip to sidebar Skip to footer

Angular Material Tab Animation Doesn't Work

I have angular material navigation tabs like in sample below. Tabs itself works fine and navigation works too. My issue is animation doesn't work. When I click a tab, instead of an

Solution 1:

Animation didn't work because I forgot to add to styles.css default theme. Without it everything worked except animation. So just add to your styles

@import "~@angular/material/prebuilt-themes/indigo-pink.css";

If you encountered similar problems just read manual twice when adding material to your project, you might missed something. https://material.angular.io/guide/getting-started

Post a Comment for "Angular Material Tab Animation Doesn't Work"