MatStepper breaks in MatDialog if selectedIndex is changed while first animations are running #15410
Labels
animation
This issue is related to Angular animations or CSS animations
area: cdk/stepper
area: material/dialog
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
What is the expected behavior?
When a
MatStepper
is used in aMatDialog
, and the user changes tab while first animations are running, then theMatStepper
should switch to thattab
correctly.What is the current behavior?
MatStepper
breaks if the user changestab
while the first animation is running (500ms) ( but only if it is located in a MatDialog ).It does not recover from this state, the user is no longer able to switch tabs.
What are the steps to reproduce?
Minimal Stackblitz example
To reproduce the behaviour click on
Open No Animations Await Dialog
and after that try to switch between tabs.Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7.2.8
Material 7.3.1
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: