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

Autocomplete options not always visible #23010

Closed
2 tasks done
JeremiAnastaziak opened this issue Oct 12, 2020 · 2 comments
Closed
2 tasks done

Autocomplete options not always visible #23010

JeremiAnastaziak opened this issue Oct 12, 2020 · 2 comments
Labels
component: autocomplete This is the name of the generic UI component, not the React module! out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future)

Comments

@JeremiAnastaziak
Copy link
Contributor

JeremiAnastaziak commented Oct 12, 2020

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

When opening Autocomplete options with little (or zero at all) space at the bottom of the page and multiple options already selected (which makes selected chips list huge), options opens outside of user view (at the top of the page)

Expected Behavior 🤔

Autocomplete options list is always visible right after open triggered.

Steps to Reproduce 🕹

https://codesandbox.io/s/material-demo-forked-w6j6o

Steps:

  1. Try to open options list

Context 🔦

Make user not thinking where the options are.

Your Environment 🌎

Tech Version
Material-UI core v4.11.0
Material-UI lab v4.0.0-alpha.56
React 16.13.1
Browser chrome 86
TypeScript 3.8.3
etc.
@JeremiAnastaziak JeremiAnastaziak added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Oct 12, 2020
@oliviertassinari oliviertassinari added component: autocomplete This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Oct 12, 2020
@oliviertassinari
Copy link
Member

Related to #21661

@oliviertassinari
Copy link
Member

Related to #19137. IMHO, the correct solution is to render smaller tags and give the autocomplete more space. I'm not aware of any alternative. I would be leaning toward "won't fix".

@oliviertassinari oliviertassinari added out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future) waiting for 👍 Waiting for upvotes labels Oct 16, 2020
@oliviertassinari oliviertassinari removed the waiting for 👍 Waiting for upvotes label Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: autocomplete This is the name of the generic UI component, not the React module! out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future)
Projects
None yet
Development

No branches or pull requests

2 participants