components icon indicating copy to clipboard operation
components copied to clipboard

Changing tabs while parent div is animating into the page causes the content to disappear.

Open bdonald25 opened this issue 6 years ago • 1 comments
trafficstars

Reproduction

Here is a StackBlitz to reproduce the issue: https://stackblitz.com/edit/angular-yqxzaq

Steps to reproduce:

  1. Animate a div into the page that contains material tab component.
  2. Change tabs as this parent div is animating into the page.
  3. Wait for the last div to finish animating into the page.
  4. The tab you switched now has no content.

Expected Behavior

If you change tabs while the parent div is animating into the page then the content should not disappear.

Actual Behavior

If you change tabs while the tabs are animating into the page then the content does disappear and is gone until you refresh the page.

Environment

  • Angular: 8.0.0
  • CDK/Material: 8.0.0
  • Browser(s): Firefox developer edition 68.0b7 (64-bit), Chrome 75.0.3770.80
  • Operating System: Windows

bdonald25 avatar Jun 07 '19 17:06 bdonald25