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

Navigate directly to nested scenes while preserving the back button scene hierarchy #2529

Closed
Assiance opened this issue Oct 22, 2017 · 1 comment

Comments

@Assiance
Copy link

Version

  • react-native-router-flux v4.0.0-beta.18
  • react-native v0.47.1

Expected behaviour

I have 3 scenes Home, Item and Event.
My normal app workflow is to go to Item scene from the Home scene and then inside of Item you have the ability to navigate to the Event Scene.
I've recently added a push notification and I would like to navigate directly to the Event scene while preserving the back button functionality that should take me to back to the Item Scene.

My current work around is to call in succession
Actions.item()
Actions.event()
but this is too slow and very clunky.

Any help is appreciated. Thanks!!

Actual behaviour

The current behavior of me just calling Actions.event() takes me to the event page but the back button takes me to the home page.

@Assiance
Copy link
Author

I built out the stack incorrectly

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

1 participant