Skip to content

[popups] Align actionsRef unmount docs - #5782

Merged
michaldudak merged 1 commit into
mui:masterfrom
michaldudak:claude/popup-unmount-docs-consistency
Sep 24, 2026
Merged

michaldudak merged 1 commit into
mui:masterfrom
michaldudak:claude/popup-unmount-docs-consistency

Conversation

@michaldudak

Copy link
Copy Markdown
Member

Follow-up to #5734, which updated the actionsRef docs of Combobox, Autocomplete, Select, and Navigation Menu.

Popover, Menu (and Context Menu, which inherits its props), Dialog, Alert Dialog, Drawer, Tooltip, and Preview Card still described unmount with the older wording. They now match:

unmount: Ends the closing phase of the popover after an externally controlled closing animation finishes. Call preventUnmountOnClose() in onOpenChange first, otherwise the popover completes closing on its own. Whether it leaves the DOM is decided by keepMounted on the portal.

Menu's close description is aligned with the other popups ("Closes the menu imperatively when called."). The generated types.md files are refreshed with pnpm docs:api.

Docs only, no behavior changes.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pkg-pr-new

pkg-pr-new Bot commented Sep 23, 2026

Copy link
Copy Markdown

commit: d4b85c7

@code-infra-dashboard

code-infra-dashboard Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 0B(0.00%) 0B(0.00%)

Details of bundle changes

Performance

Total duration: 1,126.60 ms -247.88 ms(-18.0%) | Renders: 76 (+0) | Paint: 1,855.14 ms -419.17 ms(-18.4%)

Test Duration Renders
Menu open (500 items) 87.94 ms ▼-29.39 ms(-25.1%) 11 (+0)
Menu mount (300 instances) 80.10 ms ▼-27.93 ms(-25.9%) 1 (+0)
Mixed surface mount (app-like density) 68.87 ms ▼-23.08 ms(-25.1%) 5 (+0)
Select open (500 options) 68.57 ms ▼-20.86 ms(-23.3%) 14 (+0)
Popover mount (300 instances) 37.55 ms ▼-15.87 ms(-29.7%) 1 (+0)

10 tests within noise — details


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

@netlify

netlify Bot commented Sep 23, 2026

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d4b85c7
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6ab3a8c40b5e110008c00ba0
😎 Deploy Preview https://deploy-preview-5782--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@michaldudak michaldudak changed the title [popups] Align actionsRef unmount docs [popups] Align actionsRef unmount docs Sep 23, 2026
@michaldudak michaldudak added the docs Improvements or additions to the documentation. label Sep 23, 2026

@jjenzz jjenzz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

DX review

No findings. The revised wording matches the close lifecycle and the portal’s keepMounted behavior. I also found no public API or behavior change in this PR.

Verdict

Approve


🤖 Review generated with Codex

@michaldudak
michaldudak merged commit 42dc815 into mui:master Sep 24, 2026
23 of 24 checks passed
@michaldudak
michaldudak deleted the claude/popup-unmount-docs-consistency branch September 24, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants