-
Notifications
You must be signed in to change notification settings - Fork 905
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
md-outlined-select options list height: 100% #4291
Comments
Can you provide a lit.dev/playground or screenshots of the issue? |
@asyncLiz attached image. |
md menu can have max-height set on it, but unfortunately it's in the shadow root of md-select, so it's not settable. Will investigate adding a css custom property |
copybara-service bot
pushed a commit
that referenced
this issue
Jul 7, 2023
fixes #4291 PiperOrigin-RevId: 546330782
copybara-service bot
pushed a commit
that referenced
this issue
Jul 7, 2023
fixes #4291 PiperOrigin-RevId: 546330782
copybara-service bot
pushed a commit
that referenced
this issue
Jul 7, 2023
fixes #4291 PiperOrigin-RevId: 546330782
copybara-service bot
pushed a commit
that referenced
this issue
Jul 11, 2023
fixes #4291 PiperOrigin-RevId: 546330782
copybara-service bot
pushed a commit
that referenced
this issue
Jul 11, 2023
fixes #4291 PiperOrigin-RevId: 546330782
copybara-service bot
pushed a commit
that referenced
this issue
Jul 12, 2023
fixes #4291 PiperOrigin-RevId: 546330782
copybara-service bot
pushed a commit
that referenced
this issue
Jul 12, 2023
fixes #4291 PiperOrigin-RevId: 546330782
md-outlined-select::part(menu) {
max-height: 123px;
} |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
When the list of options is longer than the height of the browser window, it is difficult to scroll through the options list to select the desired option, as the option list height is 100%.
Expected behaviour
To have the option list with a scroll bar and to be able to set the max-height of the list.
Comments
Apologies if this my ignorance on styling the component. Please advise if I missed something.
The text was updated successfully, but these errors were encountered: