react-navigation-v5 Questions

1

Solved

According to the Apple documentation, presenting a modal on iOS 13 defaults to the UIModalPresentationAutomatic, which typically maps to the UIModalPresentationPageSheet style. Similarly, react-na...
Peterkin asked 9/6, 2020 at 12:48

1

Solved

Issue: React Navigation V5 + Redux Saga: How can I navigate from the Saga? I've tried using CommonActions.navigate(), but that's not working. Am I missing something here? I want to do all of the na...
Dewaynedewberry asked 4/9, 2020 at 20:11

4

Solved

I'm migrating a React Native application from react-navigation 4 to 5.x and i can't find which package contains createSwitchNavigation. Specifically i have doubts with the auth token check part. W...
Calutron asked 18/2, 2020 at 10:50

1

Solved

Thanks in advance for helping with this question. Some Context (No Pun Intended) I'm working on a company's project that will restrict me from putting all the code on here, but I will try and put ...

1

Solved

Hello! I need to disable the back button on the navigation bar. help me plsss. Routes Home: I don't want to leave the application Success: I don't want to go back to Checkout. Example: click here...
Glottology asked 13/7, 2020 at 18:29

1

Solved

P.S: Most of the Youtube videos or articles on the web aren't using ReactNavigation v5, they are using older versions. Can someone show a dummy project when user can click button to navigate to a d...

1

Solved

I am facing some issue with react native textInput. TextInput was working fine before I added createBottomTabNavigation. It worked fine on IOS but not the Android. I created a sample component and ...
Erythromycin asked 3/7, 2020 at 0:40

0

I am trying to make custom header in React Navigation v5 which I've been using since v3 but somehow it doesn't work in v5. my header is successfuly shown with its animation on scroll down but i can...
Akbar asked 15/6, 2020 at 18:7

2

Solved

In the following simplified example, a user updates the label state using the TextInput and then clicks the 'Save' button in the header. In the submit function, when the label state is requested it...
Didache asked 7/6, 2020 at 23:40

4

Solved

I'm using react-navigation version 5. I have tab navigation and drawer navigation together. I'm trying to add an icon in my header to open/close drawer: here is my custom right header for togglin...

1

Solved

I'm using the new React Navigation 5 in my React Native app. The main menu is handled by the RootNavigator which is a Drawer. The login/sign up are handled by AuthNavigation which is a Stack. I'm...

2

Solved

I have a login screen which I have placed in stack. After user logs in successfully he is redirected to home screen which is a drawer screen. One of the options of drawer screen is logout, so on cl...
Gargantua asked 29/2, 2020 at 14:57

3

Solved

I changed the background color to make it more obvious. I want the red container to become transparent. Is there any way to achieve this? I am using react-navigation 5 and I created a custom botto...

2

Solved

As seen on the code, tabPress is not called, am i doing it wrong or am i missing something, unfortunately i have not found any code samples for react navigation version 5. <Tab.Navigator labele...

0

I'm trying to pass an initialParam prop to a TabNavigator screen. It is meant to be a login piece of local state, just doing a proof of concept. It works fine with the stack navigator screen, but t...
Rhodolite asked 25/3, 2020 at 2:44

1

I'm using React Navigation v5 with @react-navigation/bottom-tabs and my tabs look something like this. <NavigationContainer> <Tab.Navigator> <Tab.Screen name="Home" component={Ho...

1

I am trying to migrate from v4 to v5, and they've removed createAppContainer and are saying to use NavigationContainer in its place. I'm using the createCompatNavigatorFactory stuff from the compa...
Gravitative asked 20/2, 2020 at 0:30

1

Solved

We are migrating an app in React Navigation 4 to React Navigation 5. The project has a BottomTabNavigator which has for one of its routes a nested TopTabNavigator with three tabs. One of the tabs i...

1

Solved

React Navigation v3 was featuring an initialRouteParams property to pass initial values to this.navigation.props. Is there a way to set initial route params to be accessed via route.params in the R...
Iniquitous asked 7/2, 2020 at 14:53

© 2022 - 2024 — McMap. All rights reserved.