We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The <Select> component no longer sets a dynamic max-height that adjusts with the available vertical space on the page.
<Select>
max-height
To Reproduce Steps to reproduce the behavior:
Expected behavior The menu surface should adapt height to available space.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information): N/A
The text was updated successfully, but these errors were encountered:
Can confirm that this exists.
Sorry, something went wrong.
@CryptAlchemy shall I get to understand the status of the bug so that I could be a help in hand? I also face the same issue as shown below:
I found the solution: material-components/material-components-web#5590 (comment) Added this:
:global(.with-parameter__menu) { width: 300px; left: auto !important; }
<Select menu$class="mdc-menu-surface--fixed with-parameter__menu" class="with-parameter"
Important was the only hack I could see as the left was set to 0 by default and to have it aligned with the select field, it had to be unset.
Thanks, it helped a lot. I also had to put top: auto !important; to fix dialog position on screen. It was too high above select.
top: auto !important;
Successfully merging a pull request may close this issue.
Describe the bug
The
<Select>
component no longer sets a dynamicmax-height
that adjusts with the available vertical space on the page.To Reproduce
Steps to reproduce the behavior:
<Select>
Expected behavior
The menu surface should adapt height to available space.
Screenshots

Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
The text was updated successfully, but these errors were encountered: