Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Popover] Popover does not lock the scroll on mobile. #42309

Closed
alfaodine opened this issue May 20, 2024 · 1 comment
Closed

[Popover] Popover does not lock the scroll on mobile. #42309

alfaodine opened this issue May 20, 2024 · 1 comment
Labels
component: Popover The React component. duplicate This issue or pull request already exists

Comments

@alfaodine
Copy link

alfaodine commented May 20, 2024

Steps to reproduce

Link to live example: https://mui.com/material-ui/api/popover/

The scroll is not properly locked when Popover is opened. The bug can be reproduced on mobile devices in Chrome or Safari.

Steps:

Popover.MP4
  1. Open the page with Popover on mobile.
  2. Start scrolling.
  3. Press the "Open Popover" button.
  4. Keep scrolling.
  5. Observe that the scroll is not locked.

Current behavior

If you scroll the page on mobile and then click on the Popover button the scroll is not locked.

Expected behavior

The scroll should be locked when Popover is opened on mobile.

Context

No response

Your environment

The bug can be reproduced on the official MUI website. It was tested on iPhone 15 in Safari and Chrome.

Search keywords: Popover scroll lock mobile

@alfaodine alfaodine added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 20, 2024
@zannager zannager added the component: Popover The React component. label May 20, 2024
@ZeeshanTamboli
Copy link
Member

Duplicate of #5750

@ZeeshanTamboli ZeeshanTamboli marked this as a duplicate of #5750 May 30, 2024
@github-actions github-actions bot added duplicate This issue or pull request already exists and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels May 30, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Popover The React component. duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants