Skip to content

Commit 52437fc

Browse files
author
cqh
committed
docs: add native bottom tabs inset adjustment option
1 parent d43a09d commit 52437fc

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

versioned_docs/version-7.x/native-bottom-tab-navigator.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,18 @@ The display mode for the tab bar. Supported values:
477477

478478
Only supported on iOS 18 and above. Not supported on tvOS.
479479

480+
#### `overrideScrollViewContentInsetAdjustmentBehavior`
481+
482+
Whether to override the `contentInsetAdjustmentBehavior` of the first `ScrollView` in the first descendant chain from the tab screen.
483+
484+
By default, React Native's `ScrollView` has `contentInsetAdjustmentBehavior` set to `never` instead of UIKit's default `automatic`. Setting this option to `true` restores the automatic behavior so scroll views respect navigation bar insets.
485+
486+
Set this option to `false` to disable this behavior for specific screens.
487+
488+
Defaults to `true`.
489+
490+
Only supported on iOS.
491+
480492
#### `tabBarMinimizeBehavior`
481493

482494
The minimize behavior for the tab bar. Supported values:

0 commit comments

Comments
 (0)