You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Animations: end state style does not persist after animation ends (iOS Safari) #16919
area: animationslegacy animations package only. Otherwise use area: core.regressionIndicates than the issue relates to something that worked in a previous versiontype: bug/fix
After an animation completes, with a state style defined, the target state style does not persist after animating correctly to the specified style (on iOS Safari).
Expected behavior
Expect to the state style to persist after animation completes.
Minimal reproduction of the problem with instructions
area: animationslegacy animations package only. Otherwise use area: core.regressionIndicates than the issue relates to something that worked in a previous versiontype: bug/fix
Activity
matsko commentedon May 22, 2017
Yes I se the issue here. Thank you for reporting this. I'll investigate.
matsko commentedon May 22, 2017
Note that this does in-fact appear for desktop on Safari.
fix(animations): repair flicker issues with WA polyfill (#16937)
dharders commentedon May 23, 2017
@matsko Just tested latest build and found it fixed the two cases I provided. Thanks for the quick turnaround!
However, I have found another case where the animation end styles are now too persistent. i.e. they stay even after setting a new state.
Repro: https://plnkr.co/edit/fWaBeI?p=preview (uses master builds)
I expect the opacity to be 1 after the animation finishes. i.e. the 'normal' state
PS I can open a new issue if you want, but figured it was related to this issue
dharders commentedon May 23, 2017
Actually, the
group()end styles are overriding the lastanimate(style())in the plunker above. i.e. it is ignoring the orderAlso, I seem to be changing the state back to 'normal' before the 'intrans' animation is complete. I'd expect it to still apply the 'normal' styles.
/cc @matsko
dharders commentedon May 23, 2017
You can set the ng version in
systemjs.config.jsback to 4.2.0-beta.1 to see the desired behaviour.Don't forget to set ngNightly = false;
matsko commentedon May 23, 2017
@dharders thank you for reporting the new bug. Please do make an issue for this and I'll hop onto it first thing tomorrow.
dharders commentedon May 23, 2017
New issue created #16947
fix(animations): repair flicker issues with WA polyfill (angular#16937)
fix(animations): repair flicker issues with WA polyfill (angular#16937)
angular-automatic-lock-bot commentedon Sep 11, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.