I have a React Navigation(v5) Drawer as part of my app that won’t open when swiping from the side of the screen, or won’t close when swiping the drawer back or when tapping behind the drawer. We are using expo sdk 40. This behaviour used to work but doesn’t anymore. I can confirm it works properly in the expo client on an iPad running iOS 12.5 but not on an iPhone running iOS 14.3.
I’m not sure if it would help since its working properly on an older iOS version, but the Drawer.Navigator looks like the following:
<Drawer.Navigator
drawerPosition='right'
drawerType='slide'
drawerStyle={{
backgroundColor: Colors.blue3,
}}
initialRouteName='MainTabs'
drawerContent={props => <CustomDrawerContent {...props} navigation={navigation} />}
drawerContentOptions={{
labelStyle: {
color: Colors.lightText,
fontSize: 18,
fontWeight: 'bold',
},
}}
>
Im at a loss as to what to do to get this working again. Any help from anyone would be greatly appreciated. Thank you.