Repository navigation
docs: Update contentInsetAdjustmentBehavior for cross-axis safe area - #5331
Merged
Merged
Conversation
Simek
approved these changes
Nov 16, 2026
Simek
left a comment
Collaborator
There was a problem hiding this comment.
LGTM, thanks for working on those improvements! 👍
If those changes will land in 0.89 we can merge now to next, so they are picked up on cut.
Collaborator
Author
|
Yup they're expected to be: reactwg/react-native-releases#1528 ⏳ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Document the iOS
<ScrollView>safe area changes for the next release, up to react/react-native#59836.contentInsetAdjustmentBehavior: Describe both axes. Across the scrollable axis, every value except'never'pads the content container by the safe area, such as the rail on iPhone Duo or the camera cutout in landscape ([ScrollView][iOS] Fix contentInsetAdjustmentBehavior for the horizontal safe area (iPhone Duo) react-native#59194).contentContainerStyle: Add how pixelpaddingresolves to the greater of itself or the safe area inset per edge, and how percentagepaddingbehaves ([ScrollView][iOS] Fix auto inset behaviour to use max of safe area inset/container padding react-native#59836).NOTE: Merge once react/react-native#59836 lands.
Test Plan