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

Closed
1 task done
fantua opened this issue Jul 13, 2018 · 3 comments
Closed
1 task done

Select doesn't display active option after search #11268

fantua opened this issue Jul 13, 2018 · 3 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@fantua
Copy link

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
Copy link
Member

zombieJ commented Jul 20, 2018

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

@fantua
Copy link
Author

fantua commented Jul 20, 2018

@zombieJ, sure:

jul-20-2018 18-22-37

@zombieJ
Copy link
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 Ant Design Team had proved that this is a bug. label Jul 23, 2018
afc163 added a commit that referenced this issue Jul 29, 2018
* support data-* attributes
* fix #11268
ceriverso added a commit to ceriverso/select-component that referenced this issue Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

No branches or pull requests

3 participants