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

按tab键切换到select,多次操作按tab键从select失去焦点只会触发1次nzBlur--Press the tab key to switch to select, press the tab key multiple times to lose focus from select and only trigger 1 time nzBlur #3708

Closed
lait233 opened this issue Jul 2, 2019 · 2 comments · Fixed by #4270

Comments

@lait233
Copy link

lait233 commented Jul 2, 2019

Reproduction link

https://stackblitz.com/edit/angular-8lvwrd

Steps to reproduce

鼠标点击username,然后tab切换到select,然后再按一次tab切换到password,循环这个操作,select只会触发一次nzBlur.Mouse click on username, then tab to select, then press tab again to switch to password, loop this operation, select will only trigger nzBlur once.

What is expected?

每次按tab剪从select失去焦点都触发nzBlur.Each time you press tab to remove focus from select, it triggers nzBlur

What is actually happening?

只会触发一次nzBlur.Will only trigger nzBlur once

Environment Info
ng-zorro-antd 8.0.1
Browser chrome 74

select是在未展开状态下才会有这个bug.Select is in the unexpanded state will have this bug

@zorro-bot
Copy link

zorro-bot bot commented Jul 2, 2019

Translation of this issue:

Press tab to switch to select, press tab to delete focus from select and only trigger 1 time nzBlur--Press the tab key to switch to select, press the tab key multiple times to lose focus from select and only trigger 1 time nzBlur

Reproduction link

https://stackblitz.com/edit/angular-8lvwrd

Steps to reproduce

Mouse click on username, then tab to select, then press tab again to switch to password, loop this operation, select will only trigger once nzBlur.Mouse click on username, then tab to select, then press tab again to switch to password, loop This operation, select will only trigger nzBlur once.

What is expected?

Each time you press tab to remove focus from select, it triggers nzBlur.Each time you press tab to remove focus from select, it triggers nzBlur

What is actually happening?

Will only trigger once nzBlur.Will only trigger nzBlur once

Environment Info
ng-zorro-antd 8.0.1
Browser chrome 74

Select is in the unexpanded state will have this bug. Select is in the unexpanded state will have this bug

@vthinkxie
Copy link
Member

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