Skip to content

Conversation

@atomiks
Copy link
Contributor

@atomiks atomiks commented Sep 11, 2025

Prevents the input from taking focus when clicking the trigger to close. In Safari, the page can scroll to the bottom when toggling with the trigger.

Fixes #2757

@atomiks atomiks added type: bug It doesn't behave as expected. browser: Safari Affects or fixes behavior in Apple Safari. scope: autocomplete component: combobox Changes related to the combobox component. labels Sep 11, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 11, 2025

Open in StackBlitz

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

commit: 21065aa

@netlify
Copy link

netlify bot commented Sep 11, 2025

Deploy Preview for base-ui ready!

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

@mui-bot
Copy link

mui-bot commented Sep 11, 2025

Bundle size report

Bundle Parsed size Gzip size
@base-ui-components/react 🔺+20B(+0.01%) 🔺+14B(+0.01%)

Details of bundle changes

@atomiks atomiks merged commit a4606cf into mui:master Sep 14, 2025
19 checks passed
@atomiks atomiks deleted the fix/combobox-input-focus-close branch September 14, 2025 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

browser: Safari Affects or fixes behavior in Apple Safari. 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] Only on Safari the page jumps to button when using a Trigger to close a Popup with an Input inside it

3 participants