Skip to content
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 end style flashing at beginning of animation on iOS Safari (:enter) #16918

Closed
dharders opened this issue May 22, 2017 · 1 comment · Fixed by #16937
Closed

Animations end style flashing at beginning of animation on iOS Safari (:enter) #16918

dharders opened this issue May 22, 2017 · 1 comment · Fixed by #16937
Assignees
Labels
area: animations regression Indicates than the issue relates to something that worked in a previous version type: bug/fix

Comments

@dharders
Copy link

I'm submitting a ... (check one with "x")

[x] bug report 

Current behavior

On iOS Safari, the animation :enter transition is briefly showing the end style (flashes) then begins the animation. It animates fine on desktop Chrome though.

Expected behavior

Animation should start from current (or specified) style, then animate to end style (i.e. not jump from end style to start style then animate to end style)

Minimal reproduction of the problem with instructions

https://plnkr.co/edit/P6mr4H?p=preview

Note: You need to test this on iOS Safari to see the bug, as it works as expected on Chrome Desktop. (I tested with iOS 10.2.1)

Click the Grey Button and the bottom blue div should fade in and out. The bug is on the fade in.

Note the top blue div in the plunker is a separate bug on iOS where the end state style does not persist. Not sure if you want a separate github issue for this, or if it is related.

What is the motivation / use case for changing the behavior?

Reduce bad animations on mobile.

Please tell us about your environment:

Windows 7, Code, Yarn, ng-cli

  • Angular version: 4.2.0-rc-0
  • Browser: iOS 10.2.1 Safari and WKWebView
  • Language: TypeScript 2.3.2

  • Node (for AoT issues): node --version =

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: animations regression Indicates than the issue relates to something that worked in a previous version type: bug/fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants