Skip to content

When the options of the Select component change dynamically, the virtual list of the drop-down box is displayed abnormally and fails to scroll normally #3971

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

Closed
1 task
liulei92 opened this issue Apr 20, 2021 · 3 comments

Comments

@liulei92
Copy link

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

Version

2.1.1

Environment

https://codesandbox.io/s/confident-galois-3wyp6?file=/src/App.vue

Reproduction link

https://2x.antdv.com/components/select-cn

Steps to reproduce

1.先定义select的options
2.动态更改options的长度
3.发现下拉框展开后 列表异常

What is expected?

下拉框展开后列表正常

What is actually happening?

1.先定义select的options
2.动态更改options的长度
3.发现下拉框展开后 列表异常
4.环境为2.1.2


详情见codebox demo

@github-actions github-actions bot changed the title Select组件的options动态变化时,下拉框虚拟列表展示异常,未能正常滚动 When the options of the Select component change dynamically, the virtual list of the drop-down box is displayed abnormally and fails to scroll normally Apr 20, 2021
@zkwolf zkwolf added 2.x for 2.x bug labels Apr 20, 2021
@liulei92
Copy link
Author

image
此问题修复后,动态更新options后出先translateY 异常的问题;望紧急修复版本

@zkwolf
Copy link
Member

zkwolf commented Apr 26, 2021

确认一下到底有问题吗

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants