New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animations: animating from current style on state change regression #17170
Comments
Issue still present on latest 4.2.2 release. Updated plunker: https://plnkr.co/edit/yLUWhK?p=preview /cc @matsko |
Updated plunker to 4.2.3 release: https://plnkr.co/edit/yLUWhK?p=preview |
Updated plunker to 4.2.4 release: https://plnkr.co/edit/yLUWhK?p=preview / @matsko |
Is this regression likely to be fixed soon? I'd prefer not to have to change our large code base to work around it. It was marked severity5: regression, but there has been several releases since. I assumed regressions were a priority for a stable branch. Don't get me wrong, I love Angular and the new Animations module and understand bugs can easily creep in, but confidence in the turn around time of fixes for future production code is worrisome for management. Issue still present on latest 4.2.5 release. Updated plunker: https://plnkr.co/edit/yLUWhK?p=preview /cc @matsko |
Yes I am working towards it. It has been in the way of few other regressions that just landed in 4.2.5. |
Updated plunker: https://plnkr.co/edit/yLUWhK?p=preview to latest 4.3.0-rc.0 release. Issue still present /cc @matsko |
Updated plunker to latest 4.3.0 release. Regression still present |
Thank you for being persistent with this. |
Thanks @matsko! Is there any way to test your PR from the above plunker ? (i.e. does Travis CI generate a build link etc) or do I have to wait until it is merged then link to nightly Thanks again, appreciate all your work ! |
I pushed a branch into the builds code so you can test against it: Use (inside of package.json):
|
Works perfect. Thanks again! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a ...
Current behavior
Changing animation state, mid-flight of another animation, causes the new animation to play from the beginning and not from the current mid-flight style.
Expected behavior
On state change, animate from currently applied styles/position if we haven't explicitly set a starting style for the transition.
Minimal reproduction of the problem with instructions
Plunker with instructions (also see working behavior in 4.2.0-beta.1)
https://plnkr.co/edit/yLUWhK?p=preview
What is the motivation / use case for changing the behavior?
Better user experience, smoother animations, restore behavior of 4.2.0-beta.1
Please tell us about your environment:
Windows 7, code, yarn, ng cli
Tested in Chrome Desktop 58.0.3029.110 (64-bit), iOS Safari 10.2.1
Language: Typescript 2.3.4
Node (for AoT issues):
node --version
=/cc @matsko
The text was updated successfully, but these errors were encountered: