Skip to content

[combobox][autocomplete] Prevent blocking filtering while composing text on Android - #2944

Merged
atomiks merged 3 commits into
mui:masterfrom
atomiks:fix/combobox-samsung
Oct 9, 2025
Merged

atomiks merged 3 commits into
mui:masterfrom
atomiks:fix/combobox-samsung

Conversation

@atomiks

@atomiks atomiks commented Oct 9, 2025 •

Copy link
Copy Markdown
Contributor

Samsung keyboard treats non-composed characters as always-composed when predictive text is on, so filtering is permanently blocked while typing until the keyboard is closed

The Empty state bug doesn't happen on Android still since it doesn't temporarily add the chars to the input

Fixes #2942 (@joncoronel, can try this PR's release preview)

@atomiks
atomiks requested a review from mj12albert October 9, 2025 04:16
@atomiks atomiks added type: bug It doesn't behave as expected. component: autocomplete Changes related to the autocomplete component. component: combobox Changes related to the combobox component. labels Oct 9, 2025
@netlify

netlify Bot commented Oct 9, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 7fdcfcf
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/68e74aaa3ccf4900088ea3c5
😎 Deploy Preview https://deploy-preview-2944--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.

@pkg-pr-new

pkg-pr-new Bot commented Oct 9, 2025 •

Copy link
Copy Markdown

vite-css-base-ui-example

pnpm add https://pkg.pr.new/mui/base-ui/@base-ui-components/react@2944
pnpm add https://pkg.pr.new/mui/base-ui/@base-ui-components/utils@2944

commit: 7fdcfcf

@mui-bot

mui-bot commented Oct 9, 2025 •

Copy link
Copy Markdown

Bundle size report

Bundle Parsed size Gzip size
@base-ui-components/react ▼-56B(-0.01%) ▼-14B(-0.01%)

Details of bundle changes

@atomiks
atomiks marked this pull request as ready for review October 9, 2025 04:37
@atomiks
atomiks force-pushed the fix/combobox-samsung branch from 8e1cec9 to 9831550 Compare October 9, 2025 05:05
@atomiks atomiks changed the title [combobox][autocomplete] Prevent blocking filtering while composing text [combobox][autocomplete] Prevent blocking filtering while composing text on Android Oct 9, 2025
@atomiks
atomiks force-pushed the fix/combobox-samsung branch from ded9324 to 7fdcfcf Compare October 9, 2025 05:39

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

Works on Browserstack (Samsung Android + Chrome w/ default predictive text keyboard)

Screen.Recording.2025-10-09.at.1.35.42.PM.mov

Apparently when using real composition input with the Samsung keyboard, the composing value doesn't seem to propagate to the input:

Screen.Recording.2025-10-09.at.2.09.15.PM.mov

It's different in iOS & Mac

ScreenRecording_10-09-2025.14-14-48_1.MP4

@atomiks
atomiks merged commit c2535d4 into mui:master Oct 9, 2025
@atomiks
atomiks deleted the fix/combobox-samsung branch October 9, 2025 06:21
atomiks added a commit to atomiks/base-ui that referenced this pull request Oct 9, 2025
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: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[combobox][autocomplete] Input doesn't filter using Android Samsung keyboard until closed

3 participants