-
-
Notifications
You must be signed in to change notification settings - Fork 600
Description
Description
When nesting a Stack.Navigator (@react-navigation/native-stack) all application touches are disable (full app freeze). I confirmed this wasn't a react-navigation or a react-native-pager-view regression.
iOS logs this warning when the issue occurs. Android works fine.
Unexpected nil window in latent system gesture client update: windowServerHitTestWindow: <UIWindow: 0x10760f620; frame = (0 0; 402 874); userInteractionEnabled = NO; gestureRecognizers = <NSArray: 0x600000d3d1d0>; layer = <UIWindowLayer: 0x600001723e80>>, touch: <UITouch: 0x16d664690> type: Direct; phase: Stationary; is pointer: NO; tap count: 1; force: 0.000; window: (null); responder: (null);
Confirmed breaking starting at version 4.17.0 to 4.18.0
Downgrading to 4.16.0 fixes the issue.
Related commits:
- feat(iOS): Handle interactiveContentPopGesture for iOS 26 #3173
- fix(iOS): Fix content pop with horizontal scroll #3265
Steps to reproduce
import PagerView from 'react-native-pager-view';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
const Stack = createNativeStackNavigator();
function App() {
<PagerView>
<View key="0">
<Text>This Works</Text>
</View>
<View key="1">
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen component={() => <Text>Test</Text>} />
</Stack.Navigator>
</NavigationContainer>
</View>
</PagerView>
}Snack or a link to a repository
todo
Screens version
4.18.0
React Native version
0.81.5
Platforms
iOS
JavaScript runtime
None
Workflow
None
Architecture
Fabric (New Architecture)
Build type
None
Device
Real device
Device model
iOS 26, including MacOS Catalyst
Acknowledgements
Yes