react-native-macos/ReactCommon/fabric/animations
Joshua Gross 8b2eb3766b C++ LayoutAnimations: solve crash when "animating" virtual views
Summary:
Index adjustment doesn't work if virtual views are inserted, because those don't actually result in the view hierarchy being mutated, as such.

Add an Android-specific check to solve the crash.

I don't love adding platform-specific checks here, so I'm considering wrapping this logic in a platform-specific class, so that logic lives outside of the core of LayoutAnimations and entirely in platform code.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D21727805

fbshipit-source-id: 5af2cf479beaa4d0e9d94ea16ac989c4268920f8
2020-05-26 16:12:03 -07:00
..
BUCK LayoutImplementations: implement all existing animation curves besides Keyboard 2020-05-20 19:45:49 -07:00
LayoutAnimationDriver.cpp C++ Fabric Core LayoutAnimations 2020-05-20 19:45:49 -07:00
LayoutAnimationDriver.h LayoutAnimations: implement LayoutAnimationStatusDelegate for platform-specific integrations 2020-05-20 19:45:49 -07:00
LayoutAnimationKeyFrameManager.cpp C++ LayoutAnimations: solve crash when "animating" virtual views 2020-05-26 16:12:03 -07:00
LayoutAnimationKeyFrameManager.h C++ LayoutAnimations: solve crash when "animating" virtual views 2020-05-26 16:12:03 -07:00