Skip to content

Commit 6ecfdc2

Browse files
authored
Add missing FormSheet Android props to 7.x docs (#1464)
1 parent e3f4631 commit 6ecfdc2

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

versioned_docs/version-7.x/native-stack-navigator.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,42 @@ Defaults to `none`, indicating that the dimming view should be always present.
572572

573573
Only supported on Android and iOS.
574574

575+
#### `sheetShouldOverflowTopInset`
576+
577+
:::note
578+
579+
Works only when `presentation` is set to `formSheet`.
580+
581+
:::
582+
583+
Boolean indicating whether the sheet content should be rendered behind the **status bar** or **display cutouts**.
584+
585+
When set to `true`, the sheet will extend to the physical edges of the stack, allowing content to be visible behind the status bar or display cutouts. Detent ratios in `sheetAllowedDetents` will be measured relative to the **full stack height**.
586+
587+
When set to `false`, the sheet's layout will be constrained by the inset from the top and the detent ratios will then be measured relative to the **adjusted height** (excluding the top inset). This means that `sheetAllowedDetents` will result in different sheet heights depending on this prop.
588+
589+
Defaults to `false`.
590+
591+
Only supported on Android.
592+
593+
#### `sheetResizeAnimationEnabled`
594+
595+
:::note
596+
597+
Works only when `presentation` is set to `formSheet`.
598+
599+
:::
600+
601+
Boolean indicating whether the default native animation should be used when the sheet's content size changes (specifically when using `fitToContents`).
602+
603+
When set to `true`, the sheet uses internal logic to synchronize size updates and translation animations during entry, exit, or content updates. This ensures a smooth transition for standard, static content mounting/unmounting.
604+
605+
When set to `false`, the internal animation and translation logic is ignored. This allows the sheet to adjust its size dynamically based on the current dimensions of the content provided by the developer, allowing implementing **custom resizing animations**.
606+
607+
Defaults to `true`.
608+
609+
Only supported on Android.
610+
575611
#### `orientation`
576612

577613
The display orientation to use for the screen.

0 commit comments

Comments
 (0)