Skip to content

[all components] Guard registered ID cleanup - #5340

Merged
atomiks merged 5 commits into
mui:masterfrom
atomiks:codex/guard-registered-id-cleanup
Jul 27, 2026
Merged

atomiks merged 5 commits into
mui:masterfrom
atomiks:codex/guard-registered-id-cleanup

Conversation

@atomiks

@atomiks atomiks commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Prevent an older registration cleanup from clearing an ID that a newer mounted part owns.

Changes

  • Guard label, trigger, and panel ID cleanup against the currently registered value.
  • Preserve functional updater semantics when label IDs are mirrored into component stores.
  • Add regression tests for overlapping registration cleanup.

@atomiks atomiks added the type: bug It doesn't behave as expected. label Jul 26, 2026 — with ChatGPT Codex Connector
@pkg-pr-new

pkg-pr-new Bot commented Jul 26, 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@5340
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@5340
    

commit: 7141639

@code-infra-dashboard

code-infra-dashboard Bot commented Jul 26, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 🔺+388B(+0.09%) 🔺+144B(+0.10%)

Details of bundle changes

Performance

Total duration: 1,040.37 ms -53.67 ms(-4.9%) | Renders: 78 (+0) | Paint: 1,634.38 ms -81.79 ms(-4.8%)

Test Duration Renders
Menu open (500 items) 55.36 ms ▼-14.65 ms(-20.9%) 12 (+0)
Combobox open — 500 items 31.59 ms ▼-13.40 ms(-29.8%) 4 (+0)

13 tests within noise — details


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

@netlify

netlify Bot commented Jul 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 7141639
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a66ed8335e5250008c97c66
😎 Deploy Preview https://deploy-preview-5340--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.

@atomiks
atomiks marked this pull request as ready for review July 27, 2026 00:17
@atomiks atomiks added the scope: all components Widespread work has an impact on almost all components. label Jul 27, 2026
@atomiks
atomiks force-pushed the codex/guard-registered-id-cleanup branch from 3deb89b to 86fdbda Compare July 27, 2026 05:24
@atomiks
atomiks merged commit 595c0fa into mui:master Jul 27, 2026
6 checks passed
@atomiks
atomiks deleted the codex/guard-registered-id-cleanup branch August 11, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: all components Widespread work has an impact on almost all components. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant