Skip to content

Commit e3f4631

Browse files
authored
Update sheetLargestUndimmedDetentIndex doc for keyboard handling (#1465)
1 parent bb99fa2 commit e3f4631

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,14 @@ Additionaly there are following options available:
560560
- `none` - there will be dimming view for all detents levels,
561561
- `last` - there won't be a dimming view for any detent level.
562562

563+
:::warning
564+
565+
On iOS, the native implementation might resize the the sheet w/o explicitly changing the detent level, e.g. in case of keyboard appearance.
566+
567+
In case after such resize the sheet exceeds height for which in regular scenario a dimming view would be applied - it will be applied, even if the detent has not effectively been changed.
568+
569+
:::
570+
563571
Defaults to `none`, indicating that the dimming view should be always present.
564572

565573
Only supported on Android and iOS.

0 commit comments

Comments
 (0)