react-navigation.github.io
react-navigation.github.io copied to clipboard
I want to using gestureResponseDistance set half screen swipe back,but got a bug!
env:
{
"react-native": "0.64.0",
"@react-navigation/stack": "^6.0.7",
}
code:
import {createStackNavigator} from '@react-navigation/stack';
const Stack = createStackNavigator<any>();
<Stack.Navigator>
<Stack.Screen
name={path.chatRoom}
component={ChatRoom}
options={{headerShown: false, gestureResponseDistance: windowWidth / 2}}
/>
</Stack.Navigator>
bug: see the Video
https://user-images.githubusercontent.com/33342225/147741916-d909fe9c-1c3e-4bcb-9d8b-0660d727c9d8.mp4
the Page stucked
Any solution?
Thanks in advance