-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
a-select 虚拟滚动使用slot dropdownRender 时,增加超过一屏的选项时,重复打开选项时,列表出现空白【官方文档即可复现】 #7539
Comments
1.mp4没有复现,你大概增加了多少选项出现这个问题 |
要滚动到底部,再打开关闭才行,我的电脑是 macOS 14.4.1 2024-04-30.14.37.45.mp4 |
我添加子项,然后滚动条拖至底部,反复展开/收起,还是没有复现,我的环境是win11,你可以多找几个电脑试下看看 |
虚拟机中:Windows11 23H2 ARM版 Edge 浏览器 复现了,但不是每次都复现。展开/收起后,滚动条位置错误(不是在最顶部,也不是记忆位置)就一直会出现 2024-05-06.10.45.13.mp4 |
我也遇到了这个问题,目前发现只有在select有焦点的情况下且滚动条超过一页时点击select会出现这个问题 当前的解决方案是在select dropdown弹出框隐藏时手动触发失焦blur事件,能解决这个问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
4.2.1
Environment
Chrome/124
Reproduction link
https://www.antdv.com/components/select-cn#components-select-demo-custom-dropdown-menu
Steps to reproduce
打开官方文档的select链接,定位到dropdownRender,打开下拉,点击多增加一些选项后(需要滚动到中间或底部)。重复关闭和打开下拉,此时出现空白
What is expected?
使用 dropdownRender 时,选项过多重复打开不出现空白
What is actually happening?
下拉菜单出现空白
The text was updated successfully, but these errors were encountered: