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

How to make "navBar" not animated, for example as "tabBar". #2300

Closed
rogoja opened this issue Aug 29, 2017 · 2 comments
Closed

How to make "navBar" not animated, for example as "tabBar". #2300

rogoja opened this issue Aug 29, 2017 · 2 comments

Comments

@rogoja
Copy link

rogoja commented Aug 29, 2017

Version

  • react-native-router-flux v4.0.0-beta.21
  • react-native v0.46.4

How to make "navBar" not animated, for example as "tabBar". That is, when switching between scenes, the transition animation was not applied to "navBar".

@aksonov
Copy link
Owner

aksonov commented Aug 29, 2017

Use headerMode='screen' prop.

@aksonov aksonov closed this as completed Aug 29, 2017
@rogoja
Copy link
Author

rogoja commented Aug 29, 2017

@aksonov it's not exactly what I want. How to make a 'navbar' a global component? That is, it did not redraw when switching between scenes.

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