Skip to content

Commit fa3ae8a

Browse files
committed
Backport to v5
1 parent 2d315c2 commit fa3ae8a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/native-stack/views/NativeStackView.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ const MaybeNestedStack = ({
108108
stackPresentation === 'formSheet'
109109
? Platform.OS === 'ios'
110110
? styles.absoluteFillNoBottom
111-
: null
111+
: options.sheetAllowedDetents === 'fitToContents'
112+
? null
113+
: styles.container
112114
: styles.container,
113115
stackPresentation !== 'transparentModal' &&
114116
stackPresentation !== 'containedTransparentModal' && {

0 commit comments

Comments
 (0)