Skip to content

[0.81] Implement onClick and onAuxClick#15920

Merged
acoates-ms merged 9 commits intomicrosoft:0.81-stablefrom
acoates-ms:onauxclick81
Apr 2, 2026
Merged

[0.81] Implement onClick and onAuxClick#15920
acoates-ms merged 9 commits intomicrosoft:0.81-stablefrom
acoates-ms:onauxclick81

Conversation

@acoates-ms
Copy link
Copy Markdown
Contributor

@acoates-ms acoates-ms commented Apr 2, 2026

Description

Implement onClick and onAuxClick

Microsoft Reviewers: Open in CodeFlow

@acoates-ms acoates-ms requested a review from a team as a code owner April 2, 2026 19:36
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 acoates-ms enabled auto-merge (squash) April 2, 2026 23:22
@acoates-ms acoates-ms merged commit 3822b3e into microsoft:0.81-stable Apr 2, 2026
61 checks passed
@acoates-ms acoates-ms deleted the onauxclick81 branch April 3, 2026 01:12
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 free to 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