-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/tabsgood first issueThis issue is a good place to start for first time contributors to the projectThis issue is a good place to start for first time contributors to the project
Description
Feature Description
I can set the animation duration for the tabs themselves using animationDuration on the mat-tab-group. If I set this to 0, the tabs switch instantly, but the ink bar moves across taking 500ms, which makes the tab switching look slower than it actually is.
I can implement this myself using ng-deep:
::ng-deep .mat-ink-bar {
transition: none !important;
}but ng-deep is deprecated, so there's always the risk this will stop working in the future.
Use Case
Tab switching looks faster if tab switch animation duration is less than 500ms.
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/tabsgood first issueThis issue is a good place to start for first time contributors to the projectThis issue is a good place to start for first time contributors to the project