 @@ -112,6 +113,16 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithTarget : (id)target action : (SEL)act
        continue;
      }
-
+ 
 +    UIView *touchRootView = touch.view;
 +    while (touchRootView && ![touchRootView isKindOfClass:RCTRootContentView.class]) {
 +      touchRootView = touchRootView.superview;

@@ -13,6 +13,7 @@
 import type {StackFrame} from '../NativeExceptionsManager';
 import type {HermesParsedStack} from './parseHermesStack';

+const stacktraceParser = require('stacktrace-parser');
 const parseHermesStack = require('./parseHermesStack');

 function convertHermesStack(stack: HermesParsedStack): Array<StackFrame> {
@@ -43,7 +44,6 @@ function parseErrorStack(errorStack?: string): Array<StackFrame> {
     return [];
   }

-  const stacktraceParser = require('stacktrace-parser');
   const parsedStack = Array.isArray(errorStack)
     ? errorStack

--- a/node_modules/react-native/Libraries/LayoutAnimation/LayoutAnimation.js
+++ b/node_modules/react-native/Libraries/LayoutAnimation/LayoutAnimation.js
@@ -64,9 +64,9 @@ function configureNext(
 
   // In Fabric, LayoutAnimations are unconditionally enabled for Android, and
   // conditionally enabled on iOS (pending fully shipping; this is a temporary state).
-  const FabricUIManager: FabricUIManagerSpec = global?.nativeFabricUIManager;
