Skip to content

[scroll-area] Remove presentational viewport role - #5813

Merged
atomiks merged 1 commit into
mui:masterfrom
sarthakmalik0810:codex/scroll-area-presentation-role
Sep 28, 2026
Merged

atomiks merged 1 commit into
mui:masterfrom
sarthakmalik0810:codex/scroll-area-presentation-role

Conversation

@sarthakmalik0810

@sarthakmalik0810 sarthakmalik0810 commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Remove the viewport's default presentational role and add a regression test. Fixes #5812.

@pkg-pr-new

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

commit: 9cf43c1

@code-infra-dashboard

code-infra-dashboard Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react ▼-20B(0.00%) ▼-2B(0.00%)

Details of bundle changes

Performance

Total duration: 972.71 ms -87.30 ms(-8.2%) | Renders: 76 (+0) | Paint: 1,623.63 ms -141.80 ms(-8.0%)

Test Duration Renders
Menu open (500 items) 58.72 ms ▼-26.68 ms(-31.2%) 11 (+0)

14 tests within noise — details


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

@sarthakmalik0810
sarthakmalik0810 force-pushed the codex/scroll-area-presentation-role branch from 29d8bd5 to 9cf43c1 Compare September 26, 2026 12:14
@netlify

netlify Bot commented Sep 26, 2026

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 29d8bd5
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6ab7b62d250e9f00085b13e5
😎 Deploy Preview https://deploy-preview-5813--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.

@netlify

netlify Bot commented Sep 26, 2026

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 9cf43c1
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6ab7b7134869860007c34e6c
😎 Deploy Preview https://deploy-preview-5813--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.

@atomiks atomiks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix

@atomiks atomiks added type: bug It doesn't behave as expected. accessibility a11y component: scroll area Changes related to the scroll area component. labels Sep 28, 2026
@atomiks
atomiks merged commit 6d93516 into mui:master Sep 28, 2026
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility a11y component: scroll area Changes related to the scroll area component. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[scroll area] Remove the presentational role from the viewport

2 participants