diff --git a/packages/react-native-reanimated/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsManager.cpp b/packages/react-native-reanimated/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsManager.cpp index c48a9d4fced4..ae026e93e34b 100644 --- a/packages/react-native-reanimated/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsManager.cpp +++ b/packages/react-native-reanimated/Common/cpp/reanimated/LayoutAnimations/LayoutAnimationsManager.cpp @@ -116,6 +116,9 @@ void LayoutAnimationsManager::startLayoutAnimation( std::shared_ptr config; { auto lock = std::unique_lock(animationsMutex_); + if (!collection::contains(getConfigsForType(type), tag)) { + return; + } config = getConfigsForType(type)[tag]; } // TODO: cache the following!!