Skip to content

[0.81] Implement onClick and onAuxClick - #15920

Merged
Andrew Coates (acoates-ms) merged 9 commits into
microsoft:0.81-stablefrom
acoates-ms:onauxclick81
Apr 2, 2026
Merged

[0.81] Implement onClick and onAuxClick#15920
Andrew Coates (acoates-ms) merged 9 commits into
microsoft:0.81-stablefrom
acoates-ms:onauxclick81

Conversation

@acoates-ms

@acoates-msAndrew Coates (acoates-ms) commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

Description

Implement onClick and onAuxClick

Microsoft Reviewers: Open in CodeFlow

@acoates-ms
Andrew Coates (acoates-ms) requested a review from a team as a code ownerApril 2, 2026 19:36
Saad Najmi (Saadnajmi) added a commit to Saadnajmi/react-native-macos that referenced this pull request Apr 2, 2026
Implements onAuxClick following the same pattern as onDoubleClick, wired
end-to-end from native rightMouseUp: through C++ event emitters to JS.
Also adds a `button` field to MouseEvent and filters non-primary button
clicks from triggering onPress in Pressability.
Inspired by microsoft/react-native-windows#15920.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@acoates-ms
Andrew Coates (acoates-ms) merged commit 3822b3e into microsoft:0.81-stableApr 2, 2026
61 checks passed
@acoates-ms
Andrew Coates (acoates-ms) deleted the onauxclick81 branch April 3, 2026 01:12
Saad Najmi (Saadnajmi) added a commit to Saadnajmi/react-native-macos that referenced this pull request Apr 8, 2026
Implements onAuxClick following the same pattern as onDoubleClick, wired
end-to-end from native rightMouseUp: through C++ event emitters to JS.
Also adds a `button` field to MouseEvent and filters non-primary button
clicks from triggering onPress in Pressability.
Inspired by microsoft/react-native-windows#15920.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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

@acoates-ms@vmoroz