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

[material-ui][Select] Page moves the viewing focus when clicking a Selector component while zoomed in #39538

Open
2 tasks done
Faku-dl opened this issue Oct 20, 2023 · 1 comment
Labels
bug 🐛 Something doesn't work component: select This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material

Comments

@Faku-dl
Copy link

Faku-dl commented Oct 20, 2023

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

Link to live example: https://drive.google.com/file/d/1mKCoMhCuWDhWUiwN9FD7jOFpgzdSAeIN/view?usp=share_link

Steps:

  1. Go to the Select page of MUI
  2. Zoom-in with the Windows feature (pinch-in on the track pad) to the selector component
  3. Click the Selector to open the drop-down
  4. The focus goes to the top left side of the page. the selector remains open

Current behavior 😯

When clicking the selector component having zoomed in with the Windows/iOS pinch-in function the focus of the screen is moved to the top left part of the site.

Expected behavior 🤔

The focus of the screen shouldn't be lost and in should be maintained where it was

Context 🔦

It's impossible to interact with a page that has selectors on it while zoomed in.

This happened to me on Edge/Chrome browsers, but not in Firefox browser.
This happened to me also with the iOS zoom feature, not only with Windows

Your environment 🌎

MUI React selector component page
https://mui.com/material-ui/react-select/

@Faku-dl Faku-dl added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Oct 20, 2023
@ZeeshanTamboli
Copy link
Member

I think it is related to #17636. The Select component uses Popover for the Menu list.

@ZeeshanTamboli ZeeshanTamboli added component: select This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Oct 23, 2023
@ZeeshanTamboli ZeeshanTamboli changed the title Page moves the viewing focus when clicking a Selector component while zoomed in [material-ui][Select] Page moves the viewing focus when clicking a Selector component while zoomed in Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: select This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material
Projects
None yet
Development

No branches or pull requests

2 participants