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

Call native animation callbacks only once #3574

Merged
merged 2 commits into from
Nov 1, 2019
Merged

Conversation

asklar
Copy link
Member

@asklar asklar commented Nov 1, 2019

After enabling native animations, Outlook is running into cases where a "finished animation" callback is called more than once. Looking at the code it's pretty clear this is because when stopping an animation, we call it with completed=false, and then try to mark the animation as completed but that function call tries to call the callback again with completed=true this time.

Fixes #2981

Microsoft Reviewers: Open in CodeFlow

@asklar asklar requested a review from a team as a code owner November 1, 2019 06:58
Copy link
Contributor

@ddalp ddalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@asklar asklar merged commit 384358c into master Nov 1, 2019
@acoates-ms acoates-ms deleted the user/asklar/callbacks branch December 6, 2019 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants