Animation using query and stagger doesn't properly animate from height: '*' #31520
Labels
area: animations
freq2: medium
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
state: confirmed
type: bug/fix
Milestone
馃悶 bug report
Affected Package
@angular/animations: 8.1.1
Is this a regression?
I'm not sure.
Description
When attempting to use an animation query with a stagger to animate from an unknown height
height: '*'
, the animation does not work. It works fine when animating from a known height to an unknown height though.For example, this works correctly:
But this does not:
馃敩 Minimal Reproduction
https://stackblitz.com/edit/angular-unknown-height-query-animation-bug?file=src/app/app.component.ts
In this example, if you click the "show" button you will see it animate to an unknown height just fine. But, once it's expanded and you click the "hide" button you will see that it doesn't properly animate from an unknown height back to zero.
The text was updated successfully, but these errors were encountered: