We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c351df commit 953763fCopy full SHA for 953763f
createNativeStackNavigator.js
@@ -160,8 +160,9 @@ class StackView extends React.Component {
160
const SceneComponent = getComponent();
161
162
let stackPresentation = 'push';
163
- if (mode === 'modal') {
164
- stackPresentation = transparentCard ? 'transparentModal' : 'modal';
+ if (mode === 'modal' || mode === 'containedModal') {
+ stackPresentation =
165
+ transparentCard || options.cardTransparent ? 'transparentModal' : mode;
166
}
167
168
const { screenProps } = this.props;
0 commit comments