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 input box in Search and Select Users options can't get focus 搜索用户的选项中嵌入的输入框无法聚焦 #17723

Closed
1 task
Combo819 opened this issue Jul 18, 2019 · 3 comments
Assignees
Labels

Comments

@Combo819
Copy link

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

type in anything in the Select box, when the dropdown shows up, click any of the input boxes.
在选择器里输入任意文本,当下拉框出现时,点击任意一个选项中的输入框

What is expected?

The input box in option gets focus.
小输入框能聚焦

What is actually happening?

The input box in options can't get focus. User can't type in anything in the input box. That means the focus can only in Select.
小输入框不能聚焦,用户无法输入文本,强制聚焦在选择器上

Environment Info
antd 3.20.3
React 16.8.6
System win10
Browser Chrome 75

developing a feature that user can add a description to the option
开发着客户可以为选中的选项添加描述的功能

@bachchanvinh
Copy link

Is this bug solved ?

@afc163
Copy link
Member

afc163 commented Aug 1, 2022

https://codesandbox.io/s/antd-auto-complete-forked-slq2kr?file=/index.js

@afc163 afc163 closed this as completed Aug 1, 2022
@bachchanvinh
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants