bug(material/tabs): ink bar animation not disabling when animationDuration set to 0 #25068
Labels
area: material/tabs
good first issue
This issue is a good place to start for first time contributors to the project
P4
Low-priority issue that needs to be resolved
Feature Description
I can set the animation duration for the tabs themselves using
animationDuration
on themat-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
: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.
The text was updated successfully, but these errors were encountered: