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

When the input element in nz-select is focused by pressing the "tab" key in a form, nz-select should also be auto-focus #5381

Closed
ousc opened this issue Jun 5, 2020 · 0 comments · Fixed by #5420
Assignees

Comments

@ousc
Copy link
Contributor

ousc commented Jun 5, 2020

Reproduction link

https://codesandbox.io/s/ng-zorro-antd-ivy-lcwx2?file=/src/app/app.component.ts

Steps to reproduce

click the input element and press "tab"

What is expected?

the select box is focused, and if the select box with property "showsearch", you can input directly

What is actually happening?

the nz-select-box is not focused

Environment Info
ng-zorro-antd 9.1.2
Browser chrome 83.0.4103.61(正式版本) (64 位)

Maybe we can add a focus event to the input in the select to solve this problem.

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

Successfully merging a pull request may close this issue.

2 participants