Skip to content

Sync clipToPadding with overflow on Android views#55563

Open
fabriziocucci wants to merge 1 commit intofacebook:mainfrom
fabriziocucci:export-D93248532
Open

Sync clipToPadding with overflow on Android views#55563
fabriziocucci wants to merge 1 commit intofacebook:mainfrom
fabriziocucci:export-D93248532

Conversation

@fabriziocucci
Copy link
Contributor

Summary:
Changelog: [Internal]

This change syncs the clipToPadding property with the overflow property on Android views to enable input systems to correctly identify which views are clipping their content.

When overflow is set to VISIBLE, clipToPadding is set to false. For any other overflow value (e.g., HIDDEN, SCROLL), clipToPadding is set to true.

The change is gated behind the syncAndroidClipToPaddingWithOverflow feature flag.

Differential Revision: D93248532

@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 Feb 16, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 16, 2026

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

Summary:
Pull Request resolved: facebook#55563

Changelog: [Internal]

This change syncs the `clipToPadding` property with the `overflow` property on Android views to enable input systems to correctly identify which views are clipping their content.

When `overflow` is set to `VISIBLE`, `clipToPadding` is set to `false`. For any other overflow value (e.g., `HIDDEN`, `SCROLL`), `clipToPadding` is set to `true`.

The change is gated behind the `syncAndroidClipToPaddingWithOverflow` feature flag.

Differential Revision: D93248532
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. fb-exported meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants