397 questions
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
0 votes
1 answer
84 views
I can't use @react-navigation/drawer example code
I followed this minimal example of drawer-based navigation. https://reactnavigation.org/docs/drawer-based-navigation/ import * as React from 'react'; import { Button, View } from 'react-native'; ...
1 vote
0 answers
49 views
Is it possible to have all the Drawer Navigator screens having bottom tabs visible?
I am trying to implement Stack, Tab and Drawer navigators alltogether. I have a Profile screen inside the bottom tabs, which is a stack navigator component. When I open it from bottom tabs, the screen ...
0 votes
1 answer
441 views
The Correct Way to Type React Navigation Drawer
WHat's the correct way to type RNavigation, currently I am doing this on The App export type DrawerNavigatorType = { Store: unknown; ImagesStudio: { images: string[] }; // }; const Drawer = ...
0 votes
0 answers
32 views
Flicker of Dividing Line Between Menu and Chosen Screen
I have a React Native project with Expo. There is a hamburger menu, and there is a strange flicker on the dividing line between the menu and the chosen screen. Please see the attached video. I'm ...
1 vote
1 answer
187 views
react native gesture handler htmlelement is not defined error
I installed react native with the react native for windows workflow and wanted to implement a drawer navigatior. following the instructions from here: https://reactnavigation.org/docs/drawer-navigator ...
0 votes
1 answer
210 views
How do i pass the data from screen to drawer on press?
I want to pass the customDrawerData from DividendAndPrize to CustomDrawer. How do i pass the data from DividendAndPrize to CustomDrawer and display the data in the CustomDrawer component? App.js file ...
0 votes
1 answer
1k views
TypeError: Cannot read properties of undefined (reading 'PropsAllowlists')
Used navigation, reanimated and drawer versions: "@react-navigation/drawer": "^6.6.6", "@react-navigation/native": "^6.1.9", "@react-navigation/...