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

a-select 虚拟滚动使用slot dropdownRender 时,增加超过一屏的选项时,重复打开选项时,列表出现空白【官方文档即可复现】 #7539

Open
1 task
coder-virjay opened this issue Apr 28, 2024 · 5 comments

Comments

@coder-virjay
Copy link

coder-virjay commented Apr 28, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

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?

下拉菜单出现空白

@selicens
Copy link
Member

selicens commented Apr 29, 2024

1.mp4

没有复现,你大概增加了多少选项出现这个问题

@coder-virjay
Copy link
Author

1.mp4
没有复现,你大概增加了多少选项出现这个问题

要滚动到底部,再打开关闭才行,我的电脑是 macOS 14.4.1

2024-04-30.14.37.45.mp4

@selicens
Copy link
Member

我添加子项,然后滚动条拖至底部,反复展开/收起,还是没有复现,我的环境是win11,你可以多找几个电脑试下看看

@nikojxie
Copy link

image
复现了

@coder-virjay
Copy link
Author

coder-virjay commented May 6, 2024

我添加子项,然后滚动条拖至底部,反复展开/收起,还是没有复现,我的环境是win11,你可以多找几个电脑试下看看

虚拟机中:Windows11 23H2 ARM版 Edge 浏览器 复现了,但不是每次都复现。展开/收起后,滚动条位置错误(不是在最顶部,也不是记忆位置)就一直会出现

2024-05-06.10.45.13.mp4

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

No branches or pull requests

3 participants