Skip to content

[combobox][autocomplete] Add InputGroup part - #3745

Merged
atomiks merged 10 commits into
mui:masterfrom
atomiks:feat/combobox-input-group
Mar 11, 2026
Merged

atomiks merged 10 commits into
mui:masterfrom
atomiks:feat/combobox-input-group

Conversation

@atomiks

@atomiks atomiks commented Jan 15, 2026 •

Copy link
Copy Markdown
Contributor

The InputGroup part is added to make the styled input for multiple and single selection the same, instead of styling the Chips part or Input part separately depending on the selection mode.

@atomiks atomiks added type: new feature Expand the scope of the product to solve a new problem. component: autocomplete Changes related to the autocomplete component. component: combobox Changes related to the combobox component. labels Jan 15, 2026
@pkg-pr-new

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

commit: d7841c1

@mui-bot

mui-bot commented Jan 15, 2026 •

Copy link
Copy Markdown

Bundle size report

Bundle Parsed size Gzip size
@base-ui/react 🔺+732B(+0.16%) 🔺+199B(+0.13%)

Details of bundle changes


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

@netlify

netlify Bot commented Jan 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit f5390d6
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/69b14e2392487c0008b540ce
😎 Deploy Preview https://deploy-preview-3745--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 force-pushed the feat/combobox-input-group branch 2 times, most recently from 72defd5 to 27e98f7 Compare January 30, 2026 01:03
@atomiks
atomiks force-pushed the feat/combobox-input-group branch 3 times, most recently from d885a45 to 8447db6 Compare February 3, 2026 07:39
@atomiks
atomiks marked this pull request as ready for review February 3, 2026 07:50
@greptile-apps

This comment was marked as outdated.

@github-actions github-actions Bot added PR: out-of-date The pull request has merge conflicts and can't be merged. and removed PR: out-of-date The pull request has merge conflicts and can't be merged. labels Feb 9, 2026
@atomiks
atomiks force-pushed the feat/combobox-input-group branch from f7153ae to 23abd11 Compare February 10, 2026 10:26
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Feb 16, 2026
@atomiks
atomiks force-pushed the feat/combobox-input-group branch from 23abd11 to dd18620 Compare March 9, 2026 07:54
@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 9, 2026
@atomiks

atomiks commented Mar 9, 2026 •

Copy link
Copy Markdown
Contributor Author

Codex Review

Overview

This patch adds InputGroup for Combobox and Autocomplete, updates popup anchoring to use that wrapper automatically, and refreshes the docs demos around the new part. The merge resolution looks correct, and the changed Combobox demos I spot-checked still align and open correctly.

Findings (None)

No blocking issues found in this patch.

Confidence: 4/5

High confidence from a full diff review, focused browser spot-checks of the updated Combobox docs demos, and passing targeted tests for ComboboxInputGroup, ComboboxRoot, and ComboboxPositioner.

Notes

  • The merge fix correctly keeps the newer Combobox.Label guidance for the input-inside-popup pattern while preserving the new InputGroup docs and API surface.

@michaldudak michaldudak 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.

The implementation looks OK. I'd just add an explanation in the docs that this is an optional part that aims to help style the control.

@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 11, 2026
@atomiks

atomiks commented Mar 11, 2026 •

Copy link
Copy Markdown
Contributor Author

The implementation looks OK. I'd just add an explanation in the docs that this is an optional part that aims to help style the control.

It's not purely cosmetic as it groups the input and adjacent controls with role="group", and it also affects popup anchoring and outside-press handling, which makes it useful when those parts should behave as one control

But yeah, the old pattern doesn't break with this still, but I'd recommend using it going forward since it simplifies things

@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 11, 2026
@atomiks
atomiks merged commit 24efc80 into mui:master Mar 11, 2026
6 checks passed
@atomiks
atomiks deleted the feat/combobox-input-group branch March 11, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: autocomplete Changes related to the autocomplete component. component: combobox Changes related to the combobox component. type: new feature Expand the scope of the product to solve a new problem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Combobox.Positioner aligns to Input element instead of parent container when using render prop

3 participants