stack-navigator Questions
3
Solved
I'm using expo-router in my React Native Expo app containing 2 screens, app/home.js and app/details.js. There is a Link on home.js that navigates to details.js screen.
Right now both screens have t...
Lohrman asked 23/3, 2023 at 13:35
3
Solved
I'm currently using expo and expo-router for the first time and have a question about the default back navigation. What I mean by that is for example swiping from the left edge to the middle of the...
Feer asked 23/3, 2023 at 17:39
5
How is it possible to hide certain TabBar item from TabNavigator. Is there a certain TabBarOptions option, which has visible key(true/false) like this?
const Tabs = TabNavigator({
Home: {
screen...
Lebel asked 23/12, 2017 at 16:42
8
I'm using react-navigation and stack-navigator to manage my screens.
Platforms I'm using:
Android
React Native: 0.47.1
React Navigation: 1.0.0-beta.11
Emulator and Device
I have a screen, whic...
Courtnay asked 14/1, 2018 at 19:28
6
Solved
React Navigation 5
I've build a StackNavigator inside of a TabNavigator, and the navigation between home screen and other screens is working. But the problem is,When I move from Tab2 to Tab1 I exp...
Intent asked 28/4, 2020 at 19:28
9
undefined Unable to resolve module @react-navigation/native from App.js: @react-navigation/native could not be found within the project.
If you are sure the module exists, try these steps:
1. Clea...
Saracen asked 1/4, 2020 at 16:4
7
I have few screens which I navigate through one by one. Screen1->screen2-screen3->screen4-Home
What I want is when I go to home then the previous history of navigation should be cleared and back p...
Working asked 21/9, 2017 at 9:42
10
Solved
I want to hide header because I already have styled Toolbar in code:
import {createStackNavigator}
from 'react-navigation'
const AppStackNavigator = createStackNavigator ({
Home: HomePage,
Frien...
Fugitive asked 2/7, 2018 at 5:14
1
As per title, I would like to hide the header of a parent stack navigator from a children component, this is because there are certain screens where I would like to keep the parent header and some ...
Serial asked 13/10, 2021 at 5:56
11
Solved
I am using stackNavigator for navigating between screens. I am calling two API's in componentDidMount() function in my second activity. When i load it first time, it gets loaded successfully. Then ...
Bridgid asked 29/12, 2017 at 5:55
13
In my application I need drawer navigation, for that I am using sample code from this. I have integrated everything in my application, but getting the following error
undefined is not a function...
Sirocco asked 20/11, 2018 at 7:53
4
Solved
I am using react-navigation with my react native app. I have created a bottom tab navigator, and want to use the built in header on my screen. But the header is not showing up. There are no errors ...
Koblas asked 18/3, 2019 at 21:24
1
Solved
I'm working on a React Native App, which I have on the main App.js file created a Drawer and a Stack Navigatior, the problem that I'm facing is that when I navigate through the Drawer to the Pages ...
Storehouse asked 16/11, 2020 at 20:43
2
Solved
My app has 5 components (screens), I am using stack navigation version 5, I need the headers for all screens except one screen, I tried to do this via option inside screens like this:
This is my...
Minyan asked 16/2, 2020 at 14:15
4
Solved
I use React Navigation as the navigator component of my app. I want to change font family of the stack navigator. Currently I do this to change the font family in iOS and it works pretty well:
con...
Corinthians asked 4/9, 2018 at 6:36
4
Solved
I'm having some trouble with a react-native app. I can't figure out how to pass data across screens.
I realize that there are other similar questions that are answered on SO, however the solutions...
Kooima asked 2/10, 2017 at 13:56
4
I want to navigate back from DrawerNav to Login. Using alert('Alert') inside the function is OK.
I have a StackNavigator with Login and DrawerNav
const MyStackNavigator = StackNavigator({
Login ...
Volpe asked 18/3, 2018 at 12:9
3
Solved
I have 4 pages: App.js, HomeScreen.js, Login.js, Toolbar.js
My App page with the StackNavigator:
import React, { Component } from 'react';
import {
Platform,
StyleSheet,
Text,
View
} from 're...
Autochthon asked 11/1, 2018 at 9:33
3
Solved
i am using react-navigation (stack-navigation). i want to change my header back button icon route.
Home
BookTicket
MyBookings
these are the screens i have in my project.Now when i click header b...
Rebekahrebekkah asked 1/9, 2017 at 6:30
1
Solved
Hi I am trying to create a stack navigation to navigate users' profile pages on top of each other. For example, user goes to Jake's profile and from that profile taps on the Ellen's profile link an...
Rooster asked 25/6, 2018 at 18:24
1
I am trying to set a default font by following the code by robertmylne on this page. However, it tells me to place the code in my constructor in my App.js. The problem is that I am using a StackNav...
Paradiddle asked 28/4, 2018 at 21:0
1
Solved
There's mention of the property navigationOptions in this page here:
https://facebook.github.io/react-native/docs/navigation.html
I can't seem to find the full list of properties that navigationO...
Tropopause asked 24/9, 2017 at 16:5
1
© 2022 - 2024 — McMap. All rights reserved.