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