Skip to content

Conversation

@atomiks
Copy link
Contributor

@atomiks atomiks commented Oct 30, 2025

Fixes #3098

Since touchmove is used, swiping still allows swipe-outside-to-dismiss to work, so the end result is mostly identical except with a slightly increased dead zone where scroll doesn't happen.

This enables use cases like a popover that covers the whole screen (to use the anchoring behavior over Dialog) where the background scroll remains locked

@atomiks atomiks added component: select Changes related to the select component. component: menu Changes related to the menu component. type: bug It doesn't behave as expected. component: popover Changes related to the popover component. component: autocomplete Changes related to the autocomplete component. component: combobox Changes related to the combobox component. labels Oct 30, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 30, 2025

vite-css-base-ui-example

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

commit: 24ea7eb

@mui-bot
Copy link

mui-bot commented Oct 30, 2025

Bundle size report

ℹ️ Using snapshot from parent commit 6cc460b (fallback from merge base 3c18761).

Bundle Parsed size Gzip size
@base-ui-components/react ▼-108B(-0.03%) ▼-39B(-0.03%)

Details of bundle changes


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

@netlify
Copy link

netlify bot commented Oct 30, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 24ea7eb
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6908455961d9fa000829c564
😎 Deploy Preview https://deploy-preview-3100--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.

@atomiks atomiks marked this pull request as ready for review October 30, 2025 07:45
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 31, 2025
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Nov 3, 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. component: menu Changes related to the menu component. component: popover Changes related to the popover component. component: select Changes related to the select component. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Popover] Modal mode doesn't lock scroll on "touch" events

3 participants