[@angular/animations] sequence non-intuitively/erroneously merges non-animated query() calls into single initial call #30361
Labels
area: animations
freq1: low
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
type: bug/fix
Milestone
馃悶 bug report
Affected Package
The issue is caused by package @angular/....This is a problem with
@angular/animations
Description
A clear and concise description of the problem...I'm trying to create a complex angular animation with the
sequence([])
function. What I am trying to achieve requires carefully setting various CSS properties on different elements in a well-defined series of events.My efforts are being messed up because
sequence([])
seems to combine individual query() steps that lack ananimate()
function into ONEquery()
call. So a sequence that looks like this:... ends up acting like this:
馃敩 Minimal Reproduction
https://stackblitz.com/...The code I've been using to reach this conclusion can be seen in this file within the ['010-animationsContinued' branch].
The salient animation is triggered on any route change (e.g. clicking between 'data' and 'about' in the toolbar).
Note: this might be related to #27577, but I find this undesirable merging to occur not just with the display property, but others as well (e.g.
position
)The text was updated successfully, but these errors were encountered: