We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tell us which versions you are using:
I want to remove the shadow of all scenes when the router is wrapped by the SafeAreaView.
The getSceneStyle gets is not applied
My Code
const getSceneStyle = () => ({ shadowColor: 'transparent', shadowOffset: { width: 0, height: 0 }, shadowRadius: 0, shadowOpacity: 0 }); export default function AppContainer() { return ( <ApolloProvider client={client} store={store}> <Root> <SafeAreaView style={AppStyles.appContainer}> <RouterWithRedux getSceneStyle={getSceneStyle} navigator={AppRoutes}/> </SafeAreaView> </Root> </ApolloProvider> ); }
The text was updated successfully, but these errors were encountered:
don't warp your Router with SafeAreaView just warp your content
Sorry, something went wrong.
same here : (
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
Pretty late to answer but for v4.0.6, if you're not using SafeAreaView, you can follow this guy solution
<Scene //<-- highest Scene headerStyle= {{ elevation: 0, shadowOpacity: 0, borderBottomWidth: 0, }} />
If you have SafeAreaView, you can do this
<Scene //<-- highest Scene cardStyle= {{ shadowColor: 'transparent' }} />
refer this
No branches or pull requests
Version
Tell us which versions you are using:
Expected behaviour
I want to remove the shadow of all scenes when the router is wrapped by the SafeAreaView.
Actual behaviour
The getSceneStyle gets is not applied
Steps to reproduce
My Code
The text was updated successfully, but these errors were encountered: