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

Programatically changing navigationBarStyle not working #2639

Closed
smyth64 opened this issue Nov 21, 2017 · 3 comments
Closed

Programatically changing navigationBarStyle not working #2639

smyth64 opened this issue Nov 21, 2017 · 3 comments

Comments

@smyth64
Copy link
Contributor

smyth64 commented Nov 21, 2017

Version

Tell us which versions you are using:

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

Expected behaviour

It should change the color to green.

Actual behaviour

Nothing happens =/

Steps to reproduce

    Actions.refresh({
      navigationBarStyle: { backgroundColor: 'green' }
    })
@hpbl
Copy link

hpbl commented Nov 23, 2017

I am having the same problem as well :/

@smyth64
Copy link
Contributor Author

smyth64 commented Nov 23, 2017

I solved this issue using my own Header using native-base.

@aksonov
Copy link
Owner

aksonov commented Jan 4, 2018

It is not supported, PR is welcome. Solution is to use custom navbar.

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

3 participants