Skip to content

[0.88] [ScrollView][iOS] Fix contentInsetAdjustmentBehavior for the horizontal safe area (iPhone Duo) - #59973

Open
huntie wants to merge 1 commit into
0.88-stablefrom
cursor/pick-59194-0-88-594c
Open

huntie wants to merge 1 commit into
0.88-stablefrom
cursor/pick-59194-0-88-594c

Conversation

@huntie

@huntie huntie commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary:

Pick #59194 (f072e7f43da480d26f4f701187ea20bc1542d4f6) to 0.88-stable.

This fixes iOS <ScrollView contentInsetAdjustmentBehavior> so the content container stays clear of the safe area across the non-scrollable axis, such as the iPhone Duo rail and landscape notches, while the scroll view and scroll indicator still reach the screen edge.

Conflict resolution

Additional 0.88 adaptation: RCTEnhancedScrollView.mm did not have #59528's inset bookkeeping implementation on 0.88-stable, so this pick includes only the baseContentInset / padsContentForSafeArea implementation required to avoid double-applying UIKit's safe-area inset across the scrollable axis. It does not bring in #59528's inverted virtualized-list behavior, raw padsContentForSafeArea prop, or tests.

Changelog:

[iOS][Fixed] - ScrollView: contentInsetAdjustmentBehavior keeps content clear of the safe area across the scrollable axis, such as the rail on iPhone Duo and the notch in landscape

…al safe area (iPhone Duo) (#59194)

(cherry picked from commit f072e7f)
@github-actions

Copy link
Copy Markdown

Warning

Missing Test Plan

Please add a "## Test Plan" section to your PR description. A Test Plan lets us know how these changes were tested.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Expo Partner: Expo Partner Pick Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant