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

sceneContainerStyle material-top-tabs displays under new theme styles #6666

Closed
owinter86 opened this issue Dec 16, 2019 · 0 comments
Closed

Comments

@owinter86
Copy link
Contributor

Current Behavior

  • New theming support has seem to have broken the sceneContainerStyle prop for, material-top-tabs, I assume this is still to be supported?
  • Seems like the theme in NavigationNativeContainer is rendered above the sceneContainerStyle styles

Expected Behavior

  • sceneContainerStyle should take precedence of top level theme set in NavigationNativeContainer

How to reproduce

  • Add backgroundColor to sceneContainerStyle prop of a material-top-tabs navigator, will only show if the NavigationNativeContainer theme has set a transparent background color set

Your Environment

"@react-navigation/core": "^5.0.0-alpha.28",
"@react-navigation/material-top-tabs": "^5.0.0-alpha.24",
"react-native": "0.61.5",
@satya164 satya164 transferred this issue from react-navigation/navigation-ex Feb 7, 2020
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

1 participant