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

Allow push the same scene into navigation stack multiple #3263

Closed
simonwang6666 opened this issue Sep 13, 2018 · 1 comment
Closed

Allow push the same scene into navigation stack multiple #3263

simonwang6666 opened this issue Sep 13, 2018 · 1 comment

Comments

@simonwang6666
Copy link

simonwang6666 commented Sep 13, 2018

Version

  • react-native-router-flux v4.0.1
  • react v16.4.1
  • react-native v0.57.0

Expected behaviour

Allow push the same scene into navigation stack multiple which was supported @4.0.0-beta.31

Actual behaviour

Actions.push called just like Actions.refresh

Steps to reproduce

As i have a demand to select a district(country -> city -> area), i provide a scene named "distictSelect" which accept an array of location datas to display a list of items for user to select. Once i call Actions.distictSelect by passing the data of countries, i am suppose to calculate the array of cities and call Actions.distictSelect again to start an new page to provide a city selections after user selected his/her country and same as the area. In that case i think it is necessary to allow push the same scene into navigation stack muliple.

@daviscabral
Copy link
Collaborator

Duplicate of #3176. This was already fixed on #3190 but the code was not released under a new version yet. To get the fix, you will have to install the code from master.

I recommend to wait - 4.0.2 should be out today or tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants