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

Unable to scroll page when Select options open #40169

Closed
2 tasks done
xettri opened this issue Dec 10, 2023 · 1 comment
Closed
2 tasks done

Unable to scroll page when Select options open #40169

xettri opened this issue Dec 10, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@xettri
Copy link

xettri commented Dec 10, 2023

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

Steps:

  1. Use <Select> i.e. @mui/material/Select
  2. Add options to the <Select> component, then click on it to open the menu.
  3. When menu is opend then try scroll page.

Current behavior 😯

The steps outline the usage of the Material-UI <Select> component. After adding options to the <Select>, clicking on it will trigger the opening of the dropdown menu. However, a potential issue arises where scrolling on the page becomes disabled.`

Expected behavior 🤔

An alternative approach is to consider using the Autocomplete component, which currently functions as expected in this scenario. The same behavior could potentially be applied to the <Select> component for its menu options.

Context 🔦

Consider a scenario where a <Select> component is incorporated into a form situated in the upper section of a page, and additional information resides in the lower portion, beyond the initial view. As the user interacts with the <Select>, they simultaneously wish to scroll down to view more details that influence their selection. However, when the user clicks on the <Select>, an unexpected limitation arises – the page becomes unresponsive to scrolling. Consequently, the user is compelled to close the <Select>, scroll down to the desired section, then scroll back up to resume their selection process. This interruption in the scrolling behavior creates a less fluid and seamless user experience, potentially leading to frustration and a disruption in the natural flow of form completion.

Your environment 🌎

No response

@xettri xettri added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 10, 2023
@mj12albert
Copy link
Member

Duplicate of #17353

@mj12albert mj12albert marked this as a duplicate of #17353 Dec 11, 2023
@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 Dec 11, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants