Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call tab nested scene from outer scene #2079

Closed
igorarkhipenko opened this issue Jul 20, 2017 · 1 comment
Closed

Call tab nested scene from outer scene #2079

igorarkhipenko opened this issue Jul 20, 2017 · 1 comment

Comments

@igorarkhipenko
Copy link

igorarkhipenko commented Jul 20, 2017

My router looks like this:

<Router createReducer={this.reducerCreate.bind(this)}>
        <Scene key="root">
          <Scene key="auth" type="reset" hideNavBar initial={initial.auth} hideTabBar
            component={Auth} title="Auth"
          />
          <Scene key="main" tabBarComponent={Navigator} hideNavBar tabs initial={initial.main}>
            <Scene key="coaches" tabBarLabel="Coaches"
              type="reset" component={Coaches} title="Coaches"
            />
            <Scene key="dashboard" tabBarLabel="Dashboard"
              component={Dashboard} title="Dashboard" type="reset"
            />
            <Scene key="aboutMe" tabBarLabel="About me"
              component={aboutMe} title="About me" type="reset" 
            />
          </Scene>
          <Scene key="personalInfo" hideTabBar
            component={MyProfile} title="Personal Info"
          />
        </Scene>
      </Router>

And the problem is About me scene cannot be called from Personal Info as well as vise versa case when the call is going from nested scene to outer one because of an error 'There is no route defined for key routeName'. How can I get rid of this error? Thank you.

@aksonov
Copy link
Owner

aksonov commented Jul 21, 2017

Duplicate of #2066

@aksonov aksonov marked this as a duplicate of #2066 Jul 21, 2017
@aksonov aksonov closed this as completed Jul 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants