Docs: `overrideScrollViewContentInsetAdjustmentBehavior` option missing from Native Bottom Tab Navigator page
@dobomode y travaille déjà.
Depuis le 17/5/2026.
Évaluation
- Difficulté
- 1/5
- Temps estimé
- Moins d'une heure
- Accessibilité débutants
- 90/100
- Type d'issue
- Documentation
- Clarté
- Clairement spécifiée
- Activité
- Calme
- Stack technique
- react-native
- Domaine
- documentation
Piste de recherche
Ouvrez docs/native-bottom-tab-navigator.md et lisez la section Options autour de tabBarStyle et tabBarMinimizeBehavior. Vérifiez le JSDoc de l’option dans packages/bottom-tabs/src/unstable/types.tsx, puis documentez sa valeur par défaut, ses limites iOS-only et native-only, ainsi que le symptôme d’un espace vide avec un en-tête transparent. La tâche est terminée lorsque les lecteurs peuvent trouver et comprendre cette option sur la page Native Bottom Tab Navigator.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
The Tab.Screen option overrideScrollViewContentInsetAdjustmentBehavior is implemented and exposed in @react-navigation/bottom-tabs/unstable but not listed on the Native Bottom Tab Navigator docs page.
It's an iOS-only option with non-obvious default behaviour, and it's the only escape hatch for a fairly common visible bug — a blank gap appearing above content in a native-stack screen with headerTransparent: true nested inside a NativeTabs tab. The bug was reported in #12946 and the fix is exactly this option, but a reader hitting the symptom has no way to discover it from the docs.
JSDoc from the source
Whether to override the
contentInsetAdjustmentBehaviorof the firstScrollViewin the first descendant chain from the tab screen.By default,
react-native'sScrollViewhascontentInsetAdjustmentBehaviorset toneverinstead of UIKit-default (which isautomatic). This prevents ScrollViews from respecting navigation bar insets. When this prop is set totrue,automaticbehavior is reverted.To disable this behavior for specific screens, set this option to
false.Only supported with
nativeimplementation.Defaults to
true. iOS-only.
Suggested doc placement
Under "Options" on docs/native-bottom-tab-navigator.md, next to tabBarStyle / tabBarMinimizeBehavior (other iOS-flavoured presentation options). A brief mention of the symptom it fixes ("blank gap above content in a nested transparent-header screen on iOS") would help a lot.
Happy to PR if useful — just want to flag the gap before the next person hits it.
- Langage dominant
- JavaScript
- Étoiles
- 325
- Forks
- 2k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de react-navigation/react-navigation.github.io
-
Mocking RN NativeAnimatedHelper - path has been changedPeut-être pris @akkadaya l’a pris il y a 17 jours. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 94/100
react-navigation/react-navigation.github.io#1516 · 1 commentaire ·
-
Remove mention of deprecated 'jest-native' in docsPeut-être à nouveau libre Une pull request pour cette issue a été fermée sans être fusionnée. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
-
Difficulté 1/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Explain that headerTransparent should be the same value for every screen in headerMode: float stackOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Toutes les issues de react-navigation/react-navigation.github.io
Issues similaires
-
automated issue report
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
lirantal/discoprint#36 ·
Les mainteneurs répondent en général sous 1 jour
-
accepting PR Content:HTML
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
mdn/content#45988 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
pnpm/pnpm#16635 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
txn2/mcp-data-platform#2030 ·
Les mainteneurs répondent en général sous 1 jour
-
ci hacktoberfest help wanted size/small type/bug type/docs type/enhancement up-for-grabs
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Redo-San/RedoSan-Authenticity#527 ·
Les mainteneurs répondent en général sous 1 jour