Skip to content

[navigation menu] Fix nested hover close propagation - #4285

Merged
atomiks merged 2 commits into
mui:masterfrom
atomiks:codex/navigation-menu-hover-close
Mar 10, 2026
Merged

atomiks merged 2 commits into
mui:masterfrom
atomiks:codex/navigation-menu-hover-close

Conversation

@atomiks

@atomiks atomiks commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

After refactoring to the split hooks, Navigation Menu still didn't gain the fix from #4206

@atomiks atomiks added type: bug It doesn't behave as expected. component: navigation menu Changes related to the navigation menu component. labels Mar 9, 2026
@atomiks

atomiks commented Mar 9, 2026

Copy link
Copy Markdown
Contributor Author

Codex Review

Overview

This patch wires Navigation Menu into the same nested hover tree used by the popup hover logic, so a parent menu now closes when a nested submenu closes after a delayed hover-out. It also adds a regression test that covers the delayed nested close path directly.

Findings (None)

No blocking issues found in this patch.

Confidence: 4/5

High confidence based on a full diff review of the branch and focused verification of the affected hover-close behavior in both JSDOM and Chromium.

Notes

  • Reviewed the full branch diff against master, not just the latest commit.
  • Verified with pnpm test:jsdom NavigationMenuRoot --no-watch and pnpm test:chromium NavigationMenuRoot --no-watch.

@pkg-pr-new

pkg-pr-new Bot commented Mar 9, 2026 •

Copy link
Copy Markdown
  • base-ui-tanstack-start

  • vite-css-base-ui-example

    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/react@4285
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@4285
    

commit: c92da66

@mui-bot

mui-bot commented Mar 9, 2026 •

Copy link
Copy Markdown

Bundle size report

Bundle size will be reported once CircleCI build #245570 finishes.

Status: 🟠 Processing...


Check out the code infra dashboard for more information about this PR.

@netlify

netlify Bot commented Mar 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit e06e921
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/69afa9781751cf0008c232e9
😎 Deploy Preview https://deploy-preview-4285--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@atomiks
atomiks marked this pull request as ready for review March 9, 2026 11:50
@atomiks
atomiks merged commit 93c2946 into mui:master Mar 10, 2026
6 checks passed
@atomiks
atomiks deleted the codex/navigation-menu-hover-close branch March 10, 2026 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: navigation menu Changes related to the navigation menu component. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants