[ENTER DESCRIPTION HERE -]
Modal is always fullscreen and the background is not transparent even when changing screenBackgroundColor to transparent and modalPresentationStyle to anything other than fullScreen.
My content view for prior to displaying the modal is such:
<ScrollView>
<CartSummaryContainer/>
<AddressFormContainer/>
</ScrollView>
In my AddressFormContainer I have a method for displaying the modal:
togglePicker(picker){
const { navbarIcon } = this.state;
const { countryValue, regionValue } = this.props;
const showCountry = picker === 'showCountry';
const name = showCountry ? 'native.CountryPicker' : 'native.RegionPicker';
Navigation.showModal({
stack: {
children: [{
component: {
name,
passProps: {
picker,
onChange: showCountry ? this.countryChange : this.regionChange,
value: showCountry ? countryValue : regionValue,
showDefaultOption: !!showCountry,
defaultOptionLabel: showCountry ? 'United States' || countryValue : null,
},
},
}],
options: {
topBar: {
buttonColor: 'black',
leftButtons: [
{
id: 'close',
icon: navbarIcon,
},
],
},
layout: {
backgroundColor: 'transparent',
},
screenBackgroundColor: 'transparent',
modalPresentationStyle: 'formSheet',
},
},
});
}
The result, regardless of what I change the modalPresentationStyle to, is a full screen modal. The screenBackgroundColor changes color, but if I make the value transparent it will have a white background. Here is gif of the event, the red background color in the inital CheckoutContainer is just to help visualize the elements:

Running into this as well - overlay is a possible work around though
Is there a thread tracking background colors not working etc...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.
The issue has been closed for inactivity.
Same issue here.
This still appears to be an issue. I cannot get the following to create a transparent background for a modal:
layout: {
backgroundColor: 'transparent',
},
screenBackgroundColor: 'transparent',
modalPresentationStyle: 'overCurrentContext',
This is on "react-native-navigation": "^2.0.2580". It appears as if this was working at some point during a previous version of V2 but no longer.
I can confirm that this problem still happening on ^2.0.2581. I couldn't make it work either. It starts transparent but then it becomes white.
Can someone please reopen this issue? Or would you like us to post a new issue? As of 2.0.2584 the issue remains.
iOS 12, xcode 10, iphone 6, 8 & X, RN 0.55.4.