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

fix: fix no scorllbar when scroll issue #243

Closed

Conversation

beautiful-boyyy
Copy link

fix ant-design/ant-design#45935,是否出现滚动条的依据应该是实际渲染的列表高度是否超过给定高度

Copy link

vercel bot commented Nov 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
virtual-list ❌ Failed (Inspect) Nov 27, 2023 6:57am

@yoyo837
Copy link
Member

yoyo837 commented Nov 25, 2023

请添加一个测试用例覆盖一下.

@beautiful-boyyy
Copy link
Author

请添加一个测试用例覆盖一下.

没写过测试,能否提供一个指南我学习下

@yoyo837
Copy link
Member

yoyo837 commented Nov 27, 2023

可以直接参考已有的其他测试用例

@beautiful-boyyy
Copy link
Author

请添加一个测试用例覆盖一下.

已补充

@MadCcc
Copy link
Member

MadCcc commented Nov 28, 2023

测试挂了

@beautiful-boyyy
Copy link
Author

测试挂了

尝试了很多次,jest里面跑的结果和我浏览器跑的差别很大,这个测试用例我实在不会写

@yoyo837
Copy link
Member

yoyo837 commented Dec 14, 2023

测试挂了

尝试了很多次,jest里面跑的结果和我浏览器跑的差别很大,这个测试用例我实在不会写

小弟试试看

@yoyo837
Copy link
Member

yoyo837 commented Apr 2, 2024

rebase下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

当下拉列表里面有9条或10条数据的时候,Select 组件的滚动条不会出现
3 participants