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 component has scrollbar issue when wrapped by Spin component #3840

Closed
1 task done
Charbo23 opened this issue Mar 24, 2021 · 2 comments
Closed
1 task done

Select component has scrollbar issue when wrapped by Spin component #3840

Charbo23 opened this issue Mar 24, 2021 · 2 comments
Labels

Comments

@Charbo23
Copy link

Charbo23 commented Mar 24, 2021

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

Version

2.1.0

Environment

Windows 10.0.19041.867 Chrome 89.0.4389.90 Vue 3.0.3

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1.Wrap Select component in a Spin, the data for selecting must be enough to cause overflow
2.Choose an option then make any other updates on the page (such as typing words in the input box)
3.Open the dropdown menu again, the scrollbar is missing, the dropdown cannot be scrolled also

What is expected?

The dropdown menu can be scrolled whenever it should be

What is actually happening?

The dropdown menu cannot be scrolled after other updates are made


There is a solution effective for now: add "v-if" directive on the parent node of the Select component, the expression can even be simply"true".

@guibwl
Copy link

guibwl commented Apr 1, 2021

我也有类似的问题,我的情况是,当 a-select-option > 8 且 < 11 条时,选中第一条以外的 a-select-option 会导致无法滚动。

@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 26, 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