Skip to content

[select][autocomplete] Fix iOS group scrollbar overflow#4727

Open
oliviertassinari wants to merge 1 commit into
mui:masterfrom
oliviertassinari:fix-ios-header-scrollbar
Open

[select][autocomplete] Fix iOS group scrollbar overflow#4727
oliviertassinari wants to merge 1 commit into
mui:masterfrom
oliviertassinari:fix-ios-header-scrollbar

Conversation

@oliviertassinari
Copy link
Copy Markdown
Member

@oliviertassinari oliviertassinari commented May 2, 2026

Problem

I'm not sure it makes sense to touch those demos since they are being reworked on https://x.com/colmtuite/status/2044408195737608217. But those issues are evergreen; they would apply to any kind of
design. It's about fixing those cut scrollbars:

SCR-20260502-reof

https://base-ui.com/react/components/select#grouped

SCR-20260502-rcdq

https://base-ui.com/react/components/autocomplete#grid-layout

Solution

For the components that are meant to be the starting point: use margin, like some of them already do
For the components that are meant to be more "finished", use isolation as conflict risks are lower and design fidelity is higher.

Context

As for why I worked on this, I'm trying to use this to illustrate where I think we should place the cursor for how far to go when we are working on problems, in this case: mui/material-ui#48375 (comment).

@oliviertassinari oliviertassinari added the component: select Changes related to the select component. label May 2, 2026
@oliviertassinari oliviertassinari added the type: bug It doesn't behave as expected. label May 2, 2026
@oliviertassinari oliviertassinari added the component: autocomplete Changes related to the autocomplete component. label May 2, 2026
@oliviertassinari oliviertassinari added browser: Safari Affects or fixes behavior in Apple Safari. mobile Targets mobile platform. docs Improvements or additions to the documentation. labels May 2, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 2, 2026

commit: 58331bd

@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented May 2, 2026

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 0B(0.00%) 0B(0.00%)

Details of bundle changes

Performance

Total duration: 1,154.40 ms ▼-208.78 ms(-15.3%) | Renders: 53 (+0) | Paint: 1,767.98 ms ▼-315.79 ms(-15.2%)

Test Duration Renders
Menu open (500 items) 61.30 ms 🔺+2.01 ms(+3.4%) 12 (+0)
Select mount (200 instances) 129.85 ms ▼-49.37 ms(-27.5%) 3 (+0)
Checkbox mount (500 instances) 68.85 ms ▼-34.78 ms(-33.6%) 1 (+0)
Mixed surface mount (app-like density) 83.00 ms ▼-32.37 ms(-28.1%) 5 (+0)
Tabs mount (200 instances) 207.44 ms ▼-23.29 ms(-10.1%) 4 (+0)

…and 7 more — details


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

@netlify
Copy link
Copy Markdown

netlify Bot commented May 2, 2026

Deploy Preview for base-ui ready!

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

@michaldudak
Copy link
Copy Markdown
Member

cc @aarongarciah

@aarongarciah
Copy link
Copy Markdown
Member

aarongarciah commented May 4, 2026

As you said, all of the demos are being reworked and should land soon-ish, so it doesn't make much sense to work on this. I'll make sure to check this before merging the new demos.

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: autocomplete Changes related to the autocomplete component. component: select Changes related to the select component. docs Improvements or additions to the documentation. mobile Targets mobile platform. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants