-
Notifications
You must be signed in to change notification settings - Fork 25k
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: safari not animating back from the current state, but briefly jumping to the initial state #19526
Comments
Alright I see the flicker. Looking into it. Thank you for reporting. |
@matsko have you found what might be causing it? |
This is an issue with the web-animations-js polyfill and we're relying on them to have a fix: web-animations/web-animations-js#144 |
@matsko there once was a mention of angular's own, and more lightweight, polyfill for web animations, is that not a thing anymore (seeing it disappeared from angular.io)? |
@matsko looks like its a no fix at web-animations-js.. |
Here's another animation where it's jumping in safari https://stackblitz.com/edit/burger-menu?file=app%2Fapp.component.html and works fine in chrome |
I'm having similar problems with nested safari translation animations jumping to the final state / flickering |
@matsko any feedback please? |
I'm experiencing this bug using Browser: |
I can confirm that as of FYI with 6.0.0 there is no need anymore for the web-animations polyfill. Angular does everything now by itself. |
http://animationsftw.in/#/ is also updated with 6.0.0 (Safari runs much better now). |
Nice example! i was checking the code and there is also new stuff (es. :increment :decrement etc.). For example i have some router animation
this should be a simple cross fade between two pages and the code is this
in safari it's like no animation triggers instead just page changing while in other browsers everything is ok |
@skill83 can you craft together a stackblitz example? I'll investigate from there onwards. |
Lovely, thank you. |
I'll try to set it up tomorrow. Thanks |
Hi @matsko , As you will see there are some issue (Safari 11.0.3).
if i test the same with chrome 65 i get just the 1. while 2. works properly If i remove all the explict width and height from the page and from the router in safari i have the same behaviour with 1. 2. while in chrome some different stuff is happening:
I hope you can help me, and the stackblitzs are enough. Thanks |
@matsko did you had the chance to check the stackblitz? |
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...
Minimal reproduction of the problem with instructions
Check https://stackblitz.com/edit/animations-ng-content-query-bug?file=app%2Fdummy.component.ts in Chrome 61+ and in Safari 11+ or check this video
(related issue, using the same code #19473)
Environment
cc @matsko
The text was updated successfully, but these errors were encountered: