Inline CSS from Angular Animations lost when reattaching Route Snapshot #36401
Labels
area: animations
area: router
freq2: medium
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
state: needs more investigation
type: bug/fix
Milestone
馃悶 bug report
Affected Package
@angular/animations
@angular/router
Is this a regression?
Behavior started with angular 9
Description
When using a Custom Route Reuse strategy the css that had been applied via an angular animation disappears leaving the element in neither "animation state"
馃敩 Minimal Reproduction
https://github.com/IanNMarshall/angular9-animations-example
Steps to reproduce
Working example
Same src as above example but pre angular 9, works as expected, keeps animation state.
https://github.com/IanNMarshall/angular8-animation-example
馃實 Your Environment
Anything else relevant?
Could not mimic this behavior with [style] binding or setAttribute("style") seems to only happen with animations.
The text was updated successfully, but these errors were encountered: