-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LayoutAnimations.js: ensure that onComplete callback is always called…
…, even if LayoutAnimations is disabled on iOS Summary: See comments. On iOS in Fabric, LayoutAnimations is only conditionally enabled; whereas on Android it's always enabled. That means for code on iOS that relies on the onComplete callback, there might be bugs. Ensure the callback is always called on iOS by racing a timer with the animation completion. This will be deleted before Fabric "ships" fully. Impact is minimal since this change is scoped to only run on iOS and under Fabric. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D26166237 fbshipit-source-id: 9a07a402845c379e1511f199eef3d3e249e1eb06
- Loading branch information
1 parent
1ee87e1
commit 6eea597
Showing
1 changed file
with
55 additions
and
18 deletions.
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