react-native-macos/React
Spencer Ahrens 3e40837a85 Fix animation delay
Summary:
We currently rely on the Paper UIManager calling `uiManagerWillPerformMounting` to flush the animated operations queue, which includes starting and stopping animations. This mostly works right now because Fabric always starts after Paper, but sometimes Paper doesn't fire `uiManagerWillPerformMounting` for a while, which can delay an animation starting.

To fix this, I force a flush of the queues on the UIThread whenever start or stop is called. This should be safe because the order of animation operations is still preserved, and start/stop are (almost?) always called in dedicated event handler loops, so any other updates like changing the way nodes are attached should already have been processed from a previous JS execution loop.

Reviewed By: JoshuaGross

Differential Revision: D14313502

fbshipit-source-id: 2a2b0c614fd1a591bd04b6b3fafcc09ff6c9d6e7
2019-03-07 17:39:00 -08:00
..
Base Fix animation delay 2019-03-07 17:39:00 -08:00
CxxBridge NativeModules iOS: downgrade duplicated module message to warning instead of error 2019-02-21 20:10:30 -08:00
CxxModule Properly validate JS->native method calls (#23658) 2019-03-04 17:39:53 -08:00
CxxUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
DevSupport TM iOS: disable remote debugging toggle when TurboModule is active 2019-03-01 14:30:35 -08:00
Fabric Use codegen for Slider props + events 2019-03-05 11:53:56 -08:00
Inspector Don't reconnect inspector if connection refused (#22625) 2019-02-21 12:52:39 -08:00
Modules Implement the nativeID functionality in a more efficient way (#23662) 2019-03-05 09:41:19 -08:00
Profiler Fix 50 xcode warnings (#23553) 2019-02-20 10:17:26 -08:00
React.xcodeproj Fix xcode warnings (#23648) 2019-02-25 14:30:39 -08:00
UIUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Views Implement the nativeID functionality in a more efficient way (#23662) 2019-03-05 09:41:19 -08:00
React-Core.podspec Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
React-DevSupport.podspec Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
third-party.xcconfig Upgrade folly to v2018.10.22.00 for iOS (#21976) 2018-10-29 12:13:11 -07:00