Skip to content

[composite] Simplify keyboard bookkeeping - #5249

Merged
atomiks merged 2 commits into
mui:masterfrom
atomiks:codex/simplify-composite-keyboard-bookkeeping
Jul 17, 2026
Merged

atomiks merged 2 commits into
mui:masterfrom
atomiks:codex/simplify-composite-keyboard-bookkeeping

Conversation

@atomiks

@atomiks atomiks commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Removes redundant key collections and per-keydown allocations from Composite keyboard navigation.

Changes

  • Classify navigation keys with static boolean checks.
  • Preserve orientation and grid default-prevention behavior with focused tests.

@atomiks atomiks added type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. scope: all components Widespread work has an impact on almost all components. labels Jul 16, 2026 — with ChatGPT Codex Connector
@pkg-pr-new

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

commit: 92929ec

@code-infra-dashboard

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

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react ▼-229B(-0.05%) ▼-95B(-0.07%)

Details of bundle changes


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

@netlify

netlify Bot commented Jul 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 92929ec
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a59de3dfd816d0008af4107
😎 Deploy Preview https://deploy-preview-5249--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 16, 2026 05:46
@atomiks
atomiks merged commit 9914a31 into mui:master Jul 17, 2026
6 checks passed
@atomiks
atomiks deleted the codex/simplify-composite-keyboard-bookkeeping branch July 17, 2026 07:56
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: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants