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选择器在多选且选项项目多到产生动作条,将滚动条滚动任意距离会自动回到顶部 #3014

Closed
1 task
apple006 opened this issue Oct 21, 2020 · 4 comments
Labels

Comments

@apple006
Copy link

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

Version

1.6.5

Environment

vue: 2.5.22 google浏览器

Reproduction link

Edit on CodeSandbox

Steps to reproduce

下拉框多选会自动回到顶部

What is expected?

下拉列表不自动滚动到顶部

What is actually happening?

下拉列表会滚动到顶部


在Google浏览器有问题

@tangjinzhou
Copy link
Member

1.6.5 没能复现

@luotingv1
Copy link

我也遇到了 你楼主解决了

@luotingv1
Copy link

luotingv1 commented Jun 22, 2021

1.6.5 没能复现
<a-select
style="width: 100%"
placeholder="Tags Mode"

>
    <a-select-option :value="null">请选择</a-select-option>
  <a-select-option v-for="i in 25" :key="(i + 9).toString(36) + i">{{
    (i + 9).toString(36) + i
  }}</a-select-option>
</a-select>

只要里面value 是null的时候就会出现 滚动回到顶部的问题

@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 Jun 23, 2022
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

3 participants