397 questions
1 vote
1 answer
146 views
Weird navigation drawer behavior when drawerPosition set to 'right'
I am trying to implement Right to left (RTL) language support to a react native app. I want my app to be as consistent as possible across different devices. When using react navigation drawer and ...
1 vote
2 answers
88 views
How to reset navigation history in React Native app
App details: uses react navigation v7 with a single drawer navigator the drawer navigator contains custom content with buttons relating to all existing screens when a button is pressed, the app ...
141 votes
4 answers
79k views
material-ui Drawer - findDOMNode is deprecated in StrictMode
I have a simple ReactJS app based on hooks (no classes) using StrictMode. I am using React version 16.13.1 and Material-UI version 4.9.10. In the Appbar I am using Drawer. <div className={...
0 votes
6 answers
33k views
Execution failed for task ':react-native-reanimated:configureCMakeDebug[arm64-v8a] [CXX1428] exception while building Json
I'm trying to use the Drawer Navigator from React Navigation in my React Native project. I've come across a similar issue that many others have faced when attempting to run the React Native app after ...
0 votes
0 answers
25 views
How to close React Native drawer layout when clicking the same navigation item twice?
I'm implementing a drawer layout using React Native Drawer Layout like this: import {useNavigation} from '@react-navigation/native'; import { ActivityIndicator, FlatList, Image, ...
25 votes
11 answers
54k views
React Navigation 5 Hide Drawer Item
I am trying to hide the ability to press one of my routes in the drawer navigator as it is another navigator and the default location in the app. I want the drawer to simply be used for navigating to ...
1 vote
1 answer
353 views
Getting Warning [react-native-gesture-handler] None of the callbacks in the gesture are worklets. - React Native
I am using Drawer navigation in my project and not using gesture handler anywhere in the project just installed it as a supporting library for drawer navigation along with reanimated but I am getting ...
0 votes
1 answer
73 views
Hide drawer navigation from nested individual stack screen screens
I'm trying to hide/disable the ability to use the drawer navigation menu when viewing a nested stack screen. I have three separate screens (DataScreen, AircraftScreen, AirportScreen) in a Stack ...
0 votes
1 answer
133 views
TypeError: navigation.openDrawer is not a function (it is undefined) js engine: hermes in React Native
I'm using React Navigation in my React Native project with a combination of Stack Navigator and Drawer Navigator, but when I try to use navigation.openDrawer() in my component, I'm getting the ...
7 votes
5 answers
13k views
How to set react-native drawer header icon ('Hamburger') to the right side?
I set the drawer right-side, but the hamburger icon, in the screen header, stays default left side, Is there any property to pass through to change position to the right? I know it should be done with ...
3 votes
0 answers
729 views
React native: Drawer on the home page, stack on all other pages
I would like my app to have a drawer on the main page, and stack navigation on all the rest of the pages. I'm planning on setting out pages so that only some will be accessed from the drawer, others ...
6 votes
8 answers
44k views
React Native: Unable to resolve module. None of these file exist:
I am a beginner in React Native so I apologize if this is a noob question. I am trying to learn using this react navigation article and this about react login example. The first article places all the ...
23 votes
4 answers
42k views
add icon to drawer react-navigation v5
I'm trying to add an icon to each of the screens in my react-navigation drawer, but the icon doesn't appear. Here is my code : function Drawer() { return ( <Drawer.Navigator ...
6 votes
3 answers
5k views
How to remove space from the top in react-drawer
I am using it and i am getting white space at the top. Can any provide me detail to remove this white space from top. @react-navigation/drawer
1 vote
1 answer
303 views
Not able to use the right side drawer navigation in react native
So I am new to react native and have been trying to implement drawer navigators. The issue I am facing is that when I click on the icon on the right side I want the right side drawer to open but it ...