This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
mdc-select__menu - overflow-y is set to scroll rather than auto #1247
Labels
Comments
Changing |
@lynnjepsen Yes I would. |
lynnmercier
pushed a commit
that referenced
this issue
Sep 22, 2017
Also fixes select's menu Resolves #1247
I'm pretty sure a scrollbar will now be shown during menu's |
@trimox @lynnjepsen You are correct. Now that you mention it, I remembered that's why I originally went with setting the max-height to vh units (see discussion in related PR). Let me know if you would like me to create another PR to correct this... |
@trimox is right, this can even be seen in the demo: http://material-components-web.appspot.com/simple-menu.html |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The mdc-select__menu style has an overflow-y set to scroll causing the scroll bar to appear in the select dropdown whether it's necessary or not: link. Could this be changed to auto instead?
What MDC-Web Version are you using?
0.20.0
What browser(s) is this bug affecting?
All browsers are affected
What OS are you using?
Win 10
What are the steps to reproduce the bug?
A mdc-select with 2 options.
What is the expected behavior?
The vertical scrollbar should only appear when necessary.
What is the actual behavior?
The vertical scrollbar always appears.
Any other information you believe would be useful?
The text was updated successfully, but these errors were encountered: