La posición de navegación del cajón a la derecha da un comportamiento extraño. Este es el comportamiento del cajón cuando la posición se establece a la derecha
No estoy seguro de por qué está dando este comportamiento, porque debería funcionar como funciona de forma predeterminada para la izquierda. Aquí está mi código
<NavigationContainer> <Drawer.Navigator screenOptions={{drawerPosition: 'right'}}> <Drawer.Screen name="Test" component={Test} /> </Drawer.Navigator> </NavigationContainer>medio ambiente
"@react-native-community/datetimepicker": "^5.1.0", "@react-navigation/drawer": "^6.3.1", "@react-navigation/native": "^6.0.8", "@react-navigation/native-stack": "^6.5.0", "moment": "^2.29.1", "react": "17.0.2", "react-native": "0.67.2", "react-native-bootsplash": "^4.1.3", "react-native-dropdown-picker": "^5.3.0", "react-native-elements": "^3.4.2", "react-native-gesture-handler": "^2.3.1", "react-native-reanimated": "^2.4.1", "react-native-safe-area-context": "^3.4.0", "react-native-screens": "^3.11.1", "react-native-svg": "^12.1.1", "react-native-svg-transformer": "^1.0.0", "react-native-vector-icons": "^9.1.0"Amablemente ayúdame en eso. Gracias
screenOptions={{drawerPosition:'right',headerShown:false,drawerStyle:{right:0}}}