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

Can't navigate to a route already in the route stack #53

Open
jamesfzhang opened this issue Dec 18, 2015 · 4 comments
Open

Can't navigate to a route already in the route stack #53

jamesfzhang opened this issue Dec 18, 2015 · 4 comments

Comments

@jamesfzhang
Copy link

I'm seeing a weird problem where if you try to toRoute to route that already exists in the route stack, route.component is just an empty object in the renderScene function, and the app crashes. Let me know if you want to see code example. Thanks.

@charpeni
Copy link

I don't have this issue, I would like to see an example of the code.

@bradhanebury
Copy link

Also running into this issue.

This will crash as Login is somewhere early in the stack.

    this.props.resetToRoute({
        name: 'Login',
        component: Login,
        trans: true,
        hideNavigationBar: true
    });

This won't, despite being in the same code.

    this.props.resetToRoute({
        name: 'DifferentPage',
        component: DifferentPage,
        trans: true,
        hideNavigationBar: true
    });

@rfdong83
Copy link

rfdong83 commented Jan 7, 2016

I'm having the same issue, bump

@davidLeonardi
Copy link

Please provide a minimal working example to reproduce this issue.
Thanks

On Thu, Jan 7, 2016 at 8:25 PM Ryan [email protected] wrote:

I'm having the same issue, bump


Reply to this email directly or view it on GitHub
#53 (comment)
.

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

5 participants