mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6eea5974cf
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