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

Open multiple instances of one scene #3101

Closed
jay7707 opened this issue Jun 28, 2018 · 1 comment
Closed

Open multiple instances of one scene #3101

jay7707 opened this issue Jun 28, 2018 · 1 comment

Comments

@jay7707
Copy link

jay7707 commented Jun 28, 2018

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta.31 (v3 is not supported)
  • react-native v0.55.4

I have category and subcategory1,2,3,N wants to open the same scene with different data also stack should maintain. but now it is not working anything. It supposes to open multiple time but not working

Here is my router file
<Router> <Stack key="root" hideNavBar> <Scene key="login" component={Login} hideNavBar initial/> <Scene key="main" tabs={true} > <Scene key="directory" title="Directory" icon={({ focused }) => { return renderIcons("search", focused) }} > <Scene key="category" component={Category} title="Directory" /> <Scene key="contact" component={Contacts} title="Contacts" /> <Scene key="profile" component={Profile} title="Profile" /> </Scene> <Scene key="notes" title="Notes" icon={({ focused }) => { return renderIcons("create", focused) }}> <Scene key="notesList" component={Notes} title="Notes" /> <Scene key="noteDetail" component={NotesDetail} title="Notes" /> <Scene key="addnote" component={AddNote} hideNavBar /> </Scene> <Scene key="settings" component={Settings} icon={({ focused }) => { return renderIcons("settings", focused) }} title="Settings" /> <Scene key="myprofile" component={Profile} icon={({ focused }) => { return renderIcons("ios-contact", focused) }} title="Profile" /> </Scene> </Stack> </Router>

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Please try to reproduce it with Example project and latest version 4.0.0-beta.40. Feel free to open if the issue still exists

@aksonov aksonov closed this as completed Aug 8, 2018
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