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 (touchHandlerView != nil && ![touchHandlerView isKindOfClass:[RCTSurfaceView class]]) {
252
+ while (
253
+ touchHandlerView != nil && ![touchHandlerView isKindOfClass:[RCTSurfaceView class]] &&
254
+ (fullWindowOverlayContainerClass == nil || ![touchHandlerView isKindOfClass:fullWindowOverlayContainerClass])) {
251
255
  touchHandlerView = touchHandlerView.superview;
252
256
  }
253
257
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gesture-handler",
3
- "version": "2.30.0",
3
+ "version": "2.30.1",
4
4
  "description": "Declarative API exposing native platform touch and gesture system to React Native",
5
5
  "scripts": {
6
6
  "test": "jest",