Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass hitSlop into usePressability #38857

Closed
wants to merge 1 commit into from
Closed

Conversation

el1t
Copy link
Contributor

@el1t el1t commented Aug 8, 2023

Summary: hitSlop must be passed into the usePressability hook in order for it to take effect. It's a no-op if no hit slop is present

Reviewed By: NickGerleman

Differential Revision: D48124538

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Aug 8, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Aug 8, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,895,292 +102
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 9,486,984 +15
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: a8962ce
Branch: main

@el1t el1t force-pushed the export-D48124538 branch from e6001dd to 9f601e4 Compare August 8, 2023 20:01
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

el1t added a commit to el1t/react-native that referenced this pull request Aug 8, 2023
Summary:
Pull Request resolved: facebook#38857

`hitSlop` must be passed into the `usePressability` hook in order for it to take effect. It's a no-op if no hit slop is present

Changelog:
    [Internal][Fixed] - Propagate hit slop prop to TextInput pressability config

Reviewed By: NickGerleman

Differential Revision: D48124538

fbshipit-source-id: 1d95259cd0dfd02f3646022d1fe7f4d39e66a9fa
@el1t el1t force-pushed the export-D48124538 branch from 9f601e4 to 2fd81a5 Compare August 8, 2023 20:17
el1t added a commit to el1t/react-native that referenced this pull request Aug 8, 2023
Summary:
Pull Request resolved: facebook#38857

`hitSlop` must be passed into the `usePressability` hook in order for it to take effect. It's a no-op if no hit slop is present

Changelog:
    [Internal][Fixed] - Propagate hit slop prop to TextInput pressability config

Reviewed By: NickGerleman

Differential Revision: D48124538

fbshipit-source-id: 5721da1c8031f7a9e084efbea98f2a1c8840fa4d
@el1t el1t force-pushed the export-D48124538 branch from 2fd81a5 to 9010fa5 Compare August 8, 2023 22:16
@facebook-github-bot
Copy link
Contributor

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

el1t added a commit to el1t/react-native that referenced this pull request Aug 8, 2023
Summary:
Pull Request resolved: facebook#38857

`hitSlop` must be passed into the `usePressability` hook in order for it to take effect. It's a no-op if no hit slop is present

Changelog:
    [Internal][Fixed] - Propagate hit slop prop to TextInput pressability config

Reviewed By: NickGerleman

Differential Revision: D48124538

fbshipit-source-id: de736df4fa66f423fc647f4c858834f3acd3b386
@el1t el1t force-pushed the export-D48124538 branch from 9010fa5 to 4b51a65 Compare August 8, 2023 23:19
@facebook-github-bot
Copy link
Contributor

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

Summary:
Pull Request resolved: facebook#38857

`hitSlop` must be passed into the `usePressability` hook in order for it to take effect. It's a no-op if no hit slop is present

Changelog:
    [Internal][Fixed] - Propagate hit slop prop to TextInput pressability config

Reviewed By: NickGerleman

Differential Revision: D48124538

fbshipit-source-id: aca4bed70fed92512bca38632c043160ae0fb974
@el1t el1t force-pushed the export-D48124538 branch from 4b51a65 to 88ee3f9 Compare August 9, 2023 00:30
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Aug 9, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in d6ff5c6.

lunaleaps pushed a commit that referenced this pull request Aug 10, 2023
Summary:
Pull Request resolved: #38857

`hitSlop` must be passed into the `usePressability` hook in order for it to take effect. It's a no-op if no hit slop is present

Changelog:
    [Internal][Fixed] - Propagate hit slop prop to TextInput pressability config

Reviewed By: NickGerleman

Differential Revision: D48124538

fbshipit-source-id: a910fdcec55e67d37c84facca297428556ef777e
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.

3 participants