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
select的option全部显示不要滚动条 #16580
Comments
Are you sure this can reproduction? |
抱歉放错了地址,详情请看https://n72px53n20.codesandbox.io/ |
You can try to modify the style .ant-select-dropdown-menu {
- max-height: 250px;
+ max-height: fit-content;
} |
OK . Thank you ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction link
http://localhost:8080/businessmodel
Steps to reproduce
由于下拉菜单的选项过多(有16个),Select在下拉菜单中使用了滚动条。但是我当前的需求是需要显示全部选项,去掉滚动条。
代码如下:
What is expected?
显示全部option,去掉滚动条
What is actually happening?
存在滚动条
The text was updated successfully, but these errors were encountered: