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 doesn't display active option after search #11268

Closed
fantua opened this Issue Jul 13, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@fantua

fantua commented Jul 13, 2018

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

Version

3.6.6

Environment

any

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Open Select
  2. Type "50"
  3. Select option with label "50"
  4. Open Select
  5. Option with label "50" isn't active
  6. Lose focus
  7. Open Select
  8. Option is active

What is expected?

  1. Open Select
  2. Type "50"
  3. Select option with label "50"
  4. Open Select
  5. Option with label "50" is active

What is actually happening?

Select doesn't display active option after search

@zombieJ

This comment has been minimized.

Member

zombieJ commented Jul 20, 2018

Could you provide a gif for this since I can't reproduce

@fantua

This comment has been minimized.

fantua commented Jul 20, 2018

@zombieJ, sure:

jul-20-2018 18-22-37

@zombieJ

This comment has been minimized.

Member

zombieJ commented Jul 23, 2018

Got it. You mean the scroll bar should scroll to the checked value. Let me check. Thanks

@afc163 afc163 added the Bug🐛 label Jul 23, 2018

afc163 added a commit that referenced this issue Jul 29, 2018

upgrade rc-select to 8.1.x
* support data-* attributes
* fix #11268
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment