Skip to content

Forward onBlur/onFocus events to Pressability config#51670

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

Forward onBlur/onFocus events to Pressability config#51670
Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D75238328

Conversation

@Abbondanzo

Copy link
Copy Markdown
Contributor

Summary:
As the title suggests, forwards onBlur/onFocus props into the Pressability config that the component creates. Also updates TouchableWithoutFeedback to pass its onFocus/onBlur props from the config into elementProps on Android only since they've been added to Android's BaseViewConfig

Changelog: [Internal]

Differential Revision: D75238328

@facebook-github-bot facebook-github-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 May 29, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D75238328

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D75238328

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D75238328

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D75238328

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D75238328

Summary:

As the title suggests, forwards `onBlur`/`onFocus` props into the Pressability config that the component creates

Changelog: [Internal]

Reviewed By: rozele

Differential Revision: D75238328
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D75238328

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 5, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 8db1222.

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 Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants