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

select下拉菜单在鼠标快速滚动时列表项显示不完整的问题 #3419

Closed
1 task
tracy2zhang opened this issue Dec 21, 2020 · 6 comments
Closed
1 task
Labels

Comments

@tracy2zhang
Copy link

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

Version

2.0.0-rc.5

Environment

vue3.0.3

Reproduction link

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

Steps to reproduce

  1. 给select设置20多个选项,让下拉菜单是可滚动的
  2. 点击选择框展开下拉菜单
  3. 用最快的速度滚动鼠标滚轮,滚动到底

What is expected?

列表展示所有的项

What is actually happening?

列表滚动到大概倒数第4项就滚动不下去了,除非把滚动条往上滚动一下,再往下滚动才可以显示最后的那几项

@zkwolf
Copy link
Member

zkwolf commented Dec 21, 2020

没复现出来

@tracy2zhang
Copy link
Author

@zkwolf 官网的demo就可以复现出来,拖动滚动条不会有这问题,必须是鼠标滚轮滚动。滚动一定要快,慢了就复现不了。

2020-12-21.5.41.44.mov

@sendya
Copy link
Member

sendya commented Dec 21, 2020

同没复现,要滚动到多快?

GIF

@tracy2zhang
Copy link
Author

tracy2zhang commented Dec 22, 2020

@sendya 再快一点,而且一次就滚动到底。问题也并不是每次都会出现。你可以多试几次,如果一次没出现,需要刷新一下页面再试,因为只在初次渲染的时候有问题

@tracy2zhang
Copy link
Author

2020-12-22.10.32.16.mov

使用触摸板、拖动滚动条都不会复现问题,只有滚动鼠标滚轮才能复现

@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 Dec 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants