diff --git a/native/chat/chat.react.js b/native/chat/chat.react.js --- a/native/chat/chat.react.js +++ b/native/chat/chat.react.js @@ -293,6 +293,7 @@ backgroundColor: colors.tabBarBackground, borderBottomWidth: 1, }, + gestureResponseDistance: 1000, }), [colors.tabBarBackground, headerLeftButton], ); diff --git a/native/chat/swipeable-message.react.js b/native/chat/swipeable-message.react.js --- a/native/chat/swipeable-message.react.js +++ b/native/chat/swipeable-message.react.js @@ -1,7 +1,6 @@ // @flow import type { IconProps } from '@expo/vector-icons'; -import { GestureHandlerRefContext } from '@react-navigation/stack'; import * as Haptics from 'expo-haptics'; import * as React from 'react'; import { View } from 'react-native'; @@ -243,8 +242,6 @@ ); const { messageBoxStyle, children } = props; - const reactNavGestureHandlerRef = React.useContext(GestureHandlerRefContext); - const waitFor = reactNavGestureHandlerRef ?? undefined; if (!triggerReply && !triggerSidebar) { return ( @@ -316,7 +313,6 @@ onGestureEvent={swipeEvent} failOffsetX={isViewer ? 5 : -5} failOffsetY={[-5, 5]} - waitFor={waitFor} key="gesture" > diff --git a/native/navigation/community-drawer-navigator.react.js b/native/navigation/community-drawer-navigator.react.js --- a/native/navigation/community-drawer-navigator.react.js +++ b/native/navigation/community-drawer-navigator.react.js @@ -53,6 +53,7 @@ drawerStyle: styles.drawerStyle, headerShown: false, swipeEnabled, + swipeEdgeWidth: 1000, }), [styles.drawerStyle, swipeEnabled], ); diff --git a/native/profile/profile.react.js b/native/profile/profile.react.js --- a/native/profile/profile.react.js +++ b/native/profile/profile.react.js @@ -86,6 +86,7 @@ backgroundColor: colors.tabBarBackground, shadowOpacity: 0, }, + gestureResponseDistance: 1000, }), [colors.tabBarBackground, headerLeftButton], );