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

Actions.jump() not working as it is supposed to #3160

Closed
pakkibokati2012 opened this issue Aug 8, 2018 · 2 comments
Closed

Actions.jump() not working as it is supposed to #3160

pakkibokati2012 opened this issue Aug 8, 2018 · 2 comments

Comments

@pakkibokati2012
Copy link

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta.31
  • react-native v0.55.4

Expected behaviour

    Actions.jump('tabbar', this.props.rowData) is supposed to send props to all children of scene with key 'tabbar'

Actual behaviour

Props is sent to first child only
below is the scene heirarchy




@pakkibokati2012
Copy link
Author

<Scene key="tabbar" tabs tabBarPosition='bottom'> <Scene key='StepList' title='Steps' icon={TabIcon} back component={StepList} iconName="list-ul" swipeEnabled /> <Scene key="See Site on Map" title="See Site on Map" icon={TabIcon} back component= {ShowMap} iconName="map-marker" swipeEnabled /> <Scene key='Show Documents' title="Site Documents" icon={TabIcon} back component= {DocumentList} iconName="file-pdf-o" swipeEnabled /> </Scene>

@aksonov aksonov closed this as completed Aug 8, 2018
@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Please check Example project and TabView.js with Actions.tab_5_1({ data: 'test!' })

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