I am using react-navigation. I am passing propsfrom a react-native component to the modal from react-navigation which is opened on a tap.  export default class SomeComp extends Component { ...  render() {     const { navigate } = this.props;     re...
I've got a problem with the navigation of React Navigation and React Native. It is about resetting navigation and returning to the home screen.  I've build a StackNavigator inside of a DrawerNavigator, and the navigation between home screen a...
I have some issue when navigating from top Tabnavigator to other screens  so my app navigation is      My Orders Screen from Drawer => Top TabNavigatore (Accepted/Completed) => Order Details   In Route.js  I put every single navigation I want l...
I am looking desperately for a possibility to check if a previous screen exists in ReactNavigation.   Using this.props.navigation.goBack() returns false if no previous route exists, but I can not use it because if a previous route exists I get redire...
Suppose I have two screens:   Screen A Screen B   I am initially landed on Screen A. When I click on a Button I navigate to Screen B. When I press Back Button, I am again navigated to Screen A.  I want to call an action creator when I am navigated to...
i am new to react and trying to learn it by myself , i am facing problem in navigating user back to root screen from nested stck navigator screen .  Here is some of my classes :-  index.android.js :-  import React, { Component } from 'react';...
Header title seems to not work as expected.  I already updated react-native and all other dependencies to their latest version and reviewed react-navigation documentation. Also I created a bug on github for this item.  Can you please take a look if I...
I want to be able to navigate to a new screen after tapping the TouchableOpacity button but I receive an error which says     _this3.handleThisTap is not a function. (In '_this3.handleThisTap()','_this3.handleThisTap' is undefined)...
I'm trying to make my own custom tab bar and it seems tabBarComponent is the way to do it by setting as my own component. With the below code my tab bar does not show up.  const TabNav = TabNavigator({   LaunchScreen: {       screen: PrimaryNav,...
I'm setting my integer array on selectedStyleIds. Why is my this.props.navigaion.setParams not working?    _setSelectedStyleIds = (selectedStyleIds) => {     const action = NavigationActions.setParams({          params: {selectedStyleIds},...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.