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

Set animation for resetToRoute() #126

Open
Antonides opened this issue May 9, 2016 · 1 comment
Open

Set animation for resetToRoute() #126

Antonides opened this issue May 9, 2016 · 1 comment

Comments

@Antonides
Copy link

Antonides commented May 9, 2016

For the resetToRoute prop i want to set a custom sceneConfig. This did not work. The resetToRoute animation is like a back button. (page swipes back). Did anyone know how to set the sceneconfig or disable the current animation?

this.props.resetToRoute({ name: "Name", sceneConfig: Navigator.SceneConfigs.FloatFromBottomAndroid, component: Home, });

@Antonides Antonides changed the title No animations resetToRoute Set animation for resetToRoute() May 26, 2016
@charpeni
Copy link
Contributor

immediatelyResetRouteStack from the Navigator API can do that, unfortunately, it is not integrated.

PRs are welcome, otherwise I'll do it when I'll have time. Thank you for this use case.

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