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

navigationBarStyle: backgroundColor not correct when the app is in the background on Android #2801

Closed
Jun711 opened this issue Jan 16, 2018 · 1 comment

Comments

@Jun711
Copy link

Jun711 commented Jan 16, 2018

Version

Tell us which versions you are using:

  • react-native-router-flux v4.?.? (v3 is not supported)
  • react-native v0.?.?
    using "react-native-router-flux": "^4.0.0-beta.27"

Expected behaviour

expect the navbar when the app is in the background to have the color as when the app is running.

Actual behaviour

navbar is grey color while the app is in the background mode. This happens when I press the home button and android phone shows a list of apps running in the background. navbar color is not correct but the app icon does show up.

Steps to reproduce

For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.

  1. Note the navbar color
  2. Press home button
  3. Android device will show a list of apps running in the background
  4. Note the navbar color of the app is different from the color when the app is running
    Maybe I missed out some props?
<Scene
        navigationBarStyle={{backgroundColor: 'red'}}
        key='home'
        component={HomeContainer}
        title='Home'
/>
@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Please try to reproduce it with Example project and latest version 4.0.0-beta.40. Feel free to open if the issue still exists

@aksonov aksonov closed this as completed Aug 8, 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