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

Change the navigationBarStyle dynamically #2898

Closed
YoranRoels opened this issue Feb 22, 2018 · 1 comment
Closed

Change the navigationBarStyle dynamically #2898

YoranRoels opened this issue Feb 22, 2018 · 1 comment

Comments

@YoranRoels
Copy link

YoranRoels commented Feb 22, 2018

Version

react-native-router-flux: 4.0.0-beta.24,
react-native: 0.48.4

Expected behaviour

I want to be able to change the navigationBarStyle dynamically.

Actual behaviour

I've tried using:

Actions.sceneName({ 
   navigationBarStyle: {
   backgroundColor: X,
   borderBottomColor: X,
});

When navigating to the scene.
And

Actions.refresh({
   navigationBarStyle: {
      backgroundColor: X,
      borderBottomColor: X,
   },
});

When mounting the scene.
However, this isn't changing anything.

@Blapi
Copy link
Collaborator

Blapi commented Mar 16, 2018

Not supported

#2639

@Blapi Blapi closed this as completed Mar 16, 2018
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