react-native-gesture-handler 2.30.0 → 2.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -244,10 +244,14 @@ constexpr int NEW_ARCH_NUMBER_OF_ATTACH_RETRIES = 25;
|
|
|
244
244
|
RNGHUIView *touchHandlerView = childView;
|
|
245
245
|
|
|
246
246
|
#if !TARGET_OS_OSX
|
|
247
|
+
Class fullWindowOverlayContainerClass = NSClassFromString(@"RNSFullWindowOverlayContainer");
|
|
248
|
+
|
|
247
249
|
if ([[childView reactViewController] isKindOfClass:[RCTFabricModalHostViewController class]]) {
|
|
248
250
|
touchHandlerView = [childView reactViewController].view;
|
|
249
251
|
} else {
|
|
250
|
-
while (
|
|
252
|
+
while (
|
|
253
|
+
touchHandlerView != nil && ![touchHandlerView isKindOfClass:[RCTSurfaceView class]] &&
|
|
254
|
+
(fullWindowOverlayContainerClass == nil || ![touchHandlerView isKindOfClass:fullWindowOverlayContainerClass])) {
|
|
251
255
|
touchHandlerView = touchHandlerView.superview;
|
|
252
256
|
}
|
|
253
257
|
}
|