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

The [Bug Report] select component does not have the correct scroll bar position. #6255

Closed
jin9999 opened this issue Aug 3, 2017 · 5 comments

Comments

@jin9999
Copy link

jin9999 commented Aug 3, 2017

Element UI version

1.4.1

OS/Browsers version

win7/chrome

Vue version

2.4.2

Reproduction Link

http://element.eleme.io/#/zh-CN/component/select
分组例子可重现。

Steps to reproduce

1.点击选择框,滚动鼠标,让下拉框滚动到最底部。
2.选择“上海”。
3.再次点击下拉框,滚动条仍然显示在底部,但向上滚动鼠标滚动条不会向上滚动,因为列表值已经是在顶部了。向下滚动是有效的。说明滚动条位置是不正确的。

What is Expected?

滚动条能正确的显示位置。

What is actually happening?

滚动条位置不正确。

@element-bot
Copy link
Member

Translation of this issue:

Element UI version

1.4.1

OS/Browsers version

Win7/chrome

Vue version

2.4.2

Reproduction Link

https://jsfiddle.net/api/post/library/pure/

Steps to reproduce

  1. click the select box, scroll the mouse, and scroll down to the bottom.

  2. choose "Shanghai"".

  3. click the dropdown again, and the scroll bar still appears at the bottom, but scroll up the mouse scroll bar without scrolling up, because the list value is already at the top. Scroll down is valid. Indicates that the scroll bar position is incorrect.

What is Expected?

The scroll bar position is incorrect.

What is actually happening?

The scroll bar shows the correct position.

@element-bot element-bot changed the title [Bug Report] select组件滚动条位置不正确。 The [Bug Report] select component does not have the correct scroll bar position. Aug 3, 2017
@element-bot
Copy link
Member

Hi, your JSFiddle page is blank because it seems you forgot to click the Save button. Please save your fiddle and then edit this issue with the new link.

@Leopoldthecoder
Copy link
Contributor

请更新 demo 链接。

@qingdengyue
Copy link

#6271

@Leopoldthecoder
Copy link
Contributor

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

4 participants