Skip to content

[combobox] Preserve closeQuery when closing multiple input-inside-popup combobox - #4715

Merged
mj12albert merged 2 commits into
mui:masterfrom
mj12albert:fix-combobox-closeQuery-multiple-input-inside-popup
May 1, 2026
Merged

mj12albert merged 2 commits into
mui:masterfrom
mj12albert:fix-combobox-closeQuery-multiple-input-inside-popup

Conversation

@mj12albert

@mj12albert mj12albert commented Apr 30, 2026 •

Copy link
Copy Markdown
Member

Preview: https://stackblitz.com/edit/q3tpby4a-qggzkd6a?file=package.json

  1. open the popup
  2. type something that won't match like xyz
  3. use Esc to close the popup
  4. the "no countries found" state should persist during the exit transition instead of unfiltered list state

Preserves closeQuery when closing a multiple selection + input-inside-popup combobox, so the filtered list stays stable during the exit animation while the input clear is deferred until unmount, following #4408 (comment)

Fixes #4705

@mj12albert mj12albert added the component: combobox Changes related to the combobox component. label Apr 30, 2026
@pkg-pr-new

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

commit: d1fa7e1

@code-infra-dashboard

code-infra-dashboard Bot commented Apr 30, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 🔺+87B(+0.02%) 🔺+25B(+0.02%)

Details of bundle changes

Performance

Total duration: 1,358.33 ms +28.52 ms(+2.1%) | Renders: 53 (+0) | Paint: 2,121.77 ms 🔺+84.96 ms(+4.2%)

Test Duration Renders
Checkbox mount (500 instances) 80.71 ms 🔺+14.33 ms(+21.6%) 1 (+0)
Popover mount (300 instances) 109.03 ms 🔺+12.83 ms(+13.3%) 2 (+0)
Dialog mount (300 instances) 84.46 ms 🔺+9.32 ms(+12.4%) 2 (+0)
Tabs mount (200 instances) 234.25 ms 🔺+8.16 ms(+3.6%) 4 (+0)
Slider mount (300 instances) 159.34 ms 🔺+6.41 ms(+4.2%) 3 (+0)

…and 7 more — details


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

@netlify

netlify Bot commented Apr 30, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit d1fa7e1
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/69f465789572d80008860814
😎 Deploy Preview https://deploy-preview-4715--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.

@mj12albert
mj12albert marked this pull request as ready for review April 30, 2026 17:41
@mj12albert
mj12albert enabled auto-merge (squash) May 1, 2026 08:34
@mj12albert
mj12albert merged commit 53c3d1e into mui:master May 1, 2026
6 checks passed
@mj12albert
mj12albert deleted the fix-combobox-closeQuery-multiple-input-inside-popup branch July 8, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: combobox Changes related to the combobox component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[combobox] popup with transition flickers upon closing when used with multiple and input inside popup

2 participants