Skip to content

Override shouldDelayChildPressedState in Android containers#57127

Open
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D108003374
Open

Override shouldDelayChildPressedState in Android containers#57127
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D108003374

Conversation

@j-piasecki

Copy link
Copy Markdown
Contributor

Summary:
Changelog: [Android][Fixed] Prevent React Native containers from delaying native touches

shouldDelayChildPressedState returns true for compatibility reasons and non-scrollable containers should override it and return false to prevent the press feedback from being delayed.

Differential Revision: D108003374

Summary:
Changelog: [Android][Fixed] Prevent React Native containers from delaying native touches

[`shouldDelayChildPressedState`](https://developer.android.com/reference/android/view/ViewGroup#shouldDelayChildPressedState%28%29) returns `true` for compatibility reasons and non-scrollable containers should override it and return `false` to prevent the press feedback from being delayed.

Differential Revision: D108003374
@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 Jun 9, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner labels Jun 9, 2026
@facebook-github-tools facebook-github-tools Bot added the p: Facebook Partner: Facebook label Jun 9, 2026
@meta-codesync

meta-codesync Bot commented Jun 9, 2026

Copy link
Copy Markdown

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D108003374.

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 p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant