Questions tagged [react-navigation-v5]
729 questions
-1
votes
1 answer
Getting error when trying to install react navigation
This is what I am getting when running the installation command in my command prompt
-1
votes
2 answers
Pass navigation from child component to parent getting TypeError
I'm facing an issue whenever i tried to navigate to another screens. I'm using the navigation in child component and it doesn't work even i passed the props to the parent component. This is my first time on using react navigation. I've tried many…

amrxlamn
- 3
- 4
-1
votes
1 answer
useState array not updated when invoking function from another screen
I'm trying to add items to an array saved as a local state (using useState) through a function that is sent to another screen as a navigation param.
Assume i have ScreenA which looks:
ScreenA = () => {
const[obj,setObj] =…

menash
- 13
- 5
-1
votes
1 answer
How do I use tabBarOnLongPress in bottom navigation(react navigation v5)?
I couldnt find and example or snippets of how to use tabBarOnLongPress on react navigation v5.If somebody's done it already,help?

Sjonchhe
- 790
- 8
- 16
-1
votes
1 answer
React Navigation version 5.x : Passing states and function to all screens
I am trying to configure react navigation in my react native app which has persistent user authorization.
const Stack = createStackNavigator();
export default class App extends Component {
constructor() {
super();
this.state = {
…

Kavishka Gamage
- 102
- 2
- 10
-1
votes
1 answer
When you press tab icon no not respond
But when pressing a long distance from icon work normally.
Imgur

Meksi Abdennour
- 1
- 2
-1
votes
1 answer
Multiple Stack Navigators on one screen
How do you go about showing multiple Stack.Navigators on one Drawer.Screen with React Navigation 5.
Let's say I have 2 types of products: Mobile Phones and Tablets on my Dashboard Drawer.Screen. Mobile Phones and Tablets represent a separate…

Oleksandr Fomin
- 31
- 2
-1
votes
1 answer
Unable to navigate to another Stack with react-navigation
I am trying to navigate from a screen ('Settings' screen to 'Auth' in the below example) when the user signs out using navigation.navigate('Auth') but I get an error: "Do you have a screen named 'Auth'?"
I don't understand what's wrong here. In…

SkyPower
- 103
- 2
- 13
-3
votes
2 answers
I am trying to hide the back arrow navigation button but it does not work
hello guys I am trying to hide the back-arrow navigation button but it does not work
function MyStack(){
return(

houcin olmostaf
- 191
- 1
- 12