-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed IGListAdapterUpdater completion block animation transaction
Summary: * Issue: UIView animation blocks created within IGListAdapterUpdater's completion block work sporadically. Example: Direct message animation: https://pxl.cl/8sTk * Cause: completion block called within CATransaction begin/commit * Fix: commit CATransaction before calling completion block Reviewed By: rnystrom Differential Revision: D5592948 fbshipit-source-id: e7b20877b688a6a221a87b152ead830ccb34f12a
- Loading branch information
1 parent
9e31227
commit 6f946b2
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6f946b2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What issue does this fix? The video is not accessible.
6f946b2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's an internal bug we discovered. Basically trying to animate anything inside the completion block would fail because animations are still disabled.