Skip to content

Fix: Proper onClick handling for MenuGridRow#35795

Merged
adamsamec merged 4 commits intomicrosoft:masterfrom
adamsamec:fix-onclick-handling-for-menugridrow
Mar 10, 2026
Merged

Fix: Proper onClick handling for MenuGridRow#35795
adamsamec merged 4 commits intomicrosoft:masterfrom
adamsamec:fix-onclick-handling-for-menugridrow

Conversation

@adamsamec
Copy link
Contributor

Description of changes

This PR enables using own mouse click and Enter/spacebar key press handler on the MenuGridRow and MenuGridItem components via the onClick prop. Previously, using an onClick handler did not fire the event for Enter and spacebar presses. Pressing Enter on menu grid row instead incorrectly resulted in only moving keyboard focus to the first focusable child of the row.

@adamsamec adamsamec requested a review from a team as a code owner February 26, 2026 17:33
@github-actions
Copy link

github-actions bot commented Feb 26, 2026

📊 Bundle size report

✅ No changes found

@github-actions
Copy link

Pull request demo site: URL

Copy link
Contributor

@bsunderhus bsunderhus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the issues properly documented with: #35855 This LGTM ✅

@adamsamec adamsamec merged commit 80f3579 into microsoft:master Mar 10, 2026
12 checks passed
@adamsamec adamsamec deleted the fix-onclick-handling-for-menugridrow branch March 10, 2026 15:02
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