Skip to content

Include window unsafe overlap in view inset events - #59243

Open
Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D126122349
Open

Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D126122349

Conversation

@Abbondanzo

Copy link
Copy Markdown
Contributor

Summary:
Correct experimental safe-area inset events for views extending beyond an already-inset native parent. Preserve UIKit's own insets and augment each physical edge only where the view's rendered bounds intersect an unsafe strip of its owning window. Report the added distances in window points, preserving equal measurements for equal rendered bounds after scaling or reflection. Do not treat off-window space on an unreserved edge as system coverage.

Keep the existing layout-pass dispatch, threshold suppression and synchronous callback behavior. Standard UIKit safeAreaInsets is unchanged; no new public API.

Changelog:
[iOS][Fixed] - Correct experimental safe-area inset events for overflowing child views

Differential Revision: D126122349

Summary:
Correct experimental safe-area inset events for views extending beyond an already-inset native parent. Preserve UIKit's own insets and augment each physical edge only where the view's rendered bounds intersect an unsafe strip of its owning window. Report the added distances in window points, preserving equal measurements for equal rendered bounds after scaling or reflection. Do not treat off-window space on an unreserved edge as system coverage.

Keep the existing layout-pass dispatch, threshold suppression and synchronous callback behavior. Standard UIKit `safeAreaInsets` is unchanged; no new public API.

Changelog:
[iOS][Fixed] - Correct experimental safe-area inset events for overflowing child views

Differential Revision: D126122349
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 20, 2026
@meta-codesync

meta-codesync Bot commented Oct 20, 2026

Copy link
Copy Markdown

@Abbondanzo has exported this pull request. If you are a Meta employee, you can view the originating Diff in D126122349.

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant