Skip to content

feat: [TypeScript] Add missing onPressMove prop to <Pressable />#55597

Closed
retyui wants to merge 1 commit into
react:mainfrom
retyui:fix/retyui/pressable-types
Closed

feat: [TypeScript] Add missing onPressMove prop to <Pressable />#55597
retyui wants to merge 1 commit into
react:mainfrom
retyui:fix/retyui/pressable-types

Conversation

@retyui

@retyui retyui commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

Summary:

I worked on a bug that require to cancel my animation on TapDown+Drag event, so to do that I need to subscribe to move event

and onPressMove exist on JS side but not in the .d.ts

Changelog:

[GENERAL] [ADDED] - [TypeScript] Add missing onPressMove prop to <Pressable />

Test Plan:

<Pressable onPressMove={fn} /> // no TS error

@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 17, 2026
@facebook-github-bot facebook-github-bot added p: Callstack Partner: Callstack Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Feb 17, 2026
@retyui retyui changed the title feat: [TypeScript] Add missing onPressMove prop to Pressable feat: [TypeScript] Add missing onPressMove prop to <Pressable /> Feb 18, 2026
@meta-codesync

meta-codesync Bot commented Feb 18, 2026

Copy link
Copy Markdown

@joevilches has imported this pull request. If you are a Meta employee, you can view this in D93632094.

@retyui

retyui commented Feb 19, 2026

Copy link
Copy Markdown
Contributor Author

thank you @joevilches

@meta-codesync meta-codesync Bot closed this in d073182 Feb 19, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @retyui in d073182

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 19, 2026
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. Merged This PR has been merged. p: Callstack Partner: Callstack Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants