We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tell us which versions you are using:
Actions.currentScene should be get correct scene name.
But it get _SceneName not SceneName
_SceneName
SceneName
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here. 1. 2. 3.
<Router> <Tabs key="tab" tabBarComponent={Footer}> <Scene key="Home" component={Home} initial={true} /> <Scene key="Profile" component={Profile} /> </Tabs> </Router>
<View> <Text>Home</Text> </View>
<View> <Text>Profile</Text> </View>
<View> <Button title='Home' color={Actions.currentScene === 'Home' ? '#000' : '#ccc'} onPress={() => Actions.jump('Home')}> </Button> <Button title='Profile' color={Actions.currentScene === 'Profile' ? '#000' : '#ccc'} onPress={() => Actions.jump('Profile')}> </Button> </View>
The text was updated successfully, but these errors were encountered:
Same here
Did you find a solution ?
Sorry, something went wrong.
Dup #2802
No branches or pull requests
Version
Tell us which versions you are using:
Expected behaviour
Actions.currentScene should be get correct scene name.
Actual behaviour
But it get
_SceneName
notSceneName
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
1.
2.
3.
Reproducible Demo
The text was updated successfully, but these errors were encountered: