diff --git a/ReactCommon/react/renderer/animations/LayoutAnimationKeyFrameManager.cpp b/ReactCommon/react/renderer/animations/LayoutAnimationKeyFrameManager.cpp index 832082db159..31e08ff8dcc 100644 --- a/ReactCommon/react/renderer/animations/LayoutAnimationKeyFrameManager.cpp +++ b/ReactCommon/react/renderer/animations/LayoutAnimationKeyFrameManager.cpp @@ -303,7 +303,6 @@ LayoutAnimationKeyFrameManager::pullTransaction( // "immediate mutations". The corresponding "insert" will also be executed // immediately and animated as an update. std::vector keyFramesToAnimate; - std::vector movesToAnimate; auto const layoutAnimationConfig = animation.layoutAnimationConfig; for (auto const &mutation : mutations) { ShadowView baselineShadowView = @@ -369,16 +368,6 @@ LayoutAnimationKeyFrameManager::pullTransaction( bool haveConfiguration = mutationConfig.animationType != AnimationType::None; - if (wasInsertedTagRemoved && haveConfiguration) { - movesToAnimate.push_back(AnimationKeyFrame{ - /* .finalMutationsForKeyFrame = */ {}, - /* .type = */ AnimationConfigurationType::Update, - /* .tag = */ mutation.newChildShadowView.tag, - /* .parentView = */ mutation.parentShadowView, - /* .viewStart = */ movedIt->second.oldChildShadowView, - /* .viewEnd = */ mutation.newChildShadowView}); - } - // Creates and inserts should also be executed immediately. // Mutations that would otherwise be animated, but have no // configuration, are also executed immediately.