Skip to content

feat: Add onDoubleClick event handler - #2731

Merged
Saad Najmi (Saadnajmi) merged 2 commits into
microsoft:mainfrom
Saadnajmi:double-click
Oct 17, 2025
Merged

feat: Add onDoubleClick event handler#2731
Saad Najmi (Saadnajmi) merged 2 commits into
microsoft:mainfrom
Saadnajmi:double-click

Conversation

@Saadnajmi

Copy link
Copy Markdown
Collaborator

Summary:

Cherry pick another change from #2117 around Fabric

We actually already had this prop in Paper, but I had removed it in one RNM upgrade. It turns out that onPress / pointer events don't expose a "count" property, so there isnt' an easy way to listen to double click. Adding this back + changes to add to Fabric.

Test Plan:

Event fires in Pressable Feedback example

@Saadnajmi
Saad Najmi (Saadnajmi) requested a review from a team as a code ownerOctober 15, 2025 21:49
@SaadnajmiSaad Najmi (Saadnajmi) changed the title feat: Add onDoubleClick to View eventsfeat: Add onDoubleClick event handlerOct 16, 2025
@Saadnajmi
Saad Najmi (Saadnajmi) merged commit 721a5aa into microsoft:mainOct 17, 2025
39 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Saadnajmi@acoates-ms