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

下拉出现选择列表出现2个滚动条 #47

Closed
samyhd opened this issue Apr 11, 2020 · 2 comments
Closed

下拉出现选择列表出现2个滚动条 #47

samyhd opened this issue Apr 11, 2020 · 2 comments

Comments

@samyhd
Copy link

samyhd commented Apr 11, 2020

把源码中的ElTreeSelect.vue、dom.js、utils.js下载到本地
在文件中引入使用

发觉在下拉列表会出现两个滚动条
1)如果鼠标在左边的滚动条内部时双指滚动,那动的是左边的滚动条
2)如果鼠标在左边的滚动条外部时双指滚动,那动的是右边的滚动条

请问是那里的问题,谢谢

image

@ayiaq1
Copy link
Owner

ayiaq1 commented Apr 12, 2020

你本地样式有复写吧。我建立了一个全新工程,只有一个内置滚动条

@samyhd
Copy link
Author

samyhd commented Apr 13, 2020

感谢,确实是我复写了一个样式,想让下拉项显示更多点

.el-select-dropdown__wrap { max-height: 550px; }

@ayiaq1 ayiaq1 closed this as completed Apr 14, 2020
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

2 participants