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

nz-select 在 tags mode下 nzBlur触发的时机不正确 #4452

Closed
msyesyan opened this issue Nov 20, 2019 · 3 comments
Closed

nz-select 在 tags mode下 nzBlur触发的时机不正确 #4452

msyesyan opened this issue Nov 20, 2019 · 3 comments
Assignees

Comments

@msyesyan
Copy link
Contributor

Reproduction link

https://ng-zorro-antd-start-jkfcwi.stackblitz.io

Steps to reproduce

直接focus 到 组件上,你会发现handleBlur() 函数在focus的状态下被触发。这个问题在 8.2版本下貌似是没有的

What is expected?

在blur的时候触发handleBlur

What is actually happening?

在focus的时候触发了handleBlur

Environment Info
ng-zorro-antd 8.5.1
Browser Chrome
@zorro-bot
Copy link

zorro-bot bot commented Nov 20, 2019

Translation of this issue:

Nz-select the timing in tags mode nzBlur trigger incorrect

Reproduction link

[Https://ng-zorro-antd-start-jkfcwi.stackblitz.io] (https://ng-zorro-antd-start-jkfcwi.stackblitz.io)

Steps to reproduce

To focus directly the components, you will find handleBlur () function is triggered in the focus state. This looks like a problem in version 8.2 is not

What is expected?

When the blur triggers handleBlur

What is actually happening?

When focus triggers handleBlur

Environment Info
Ng-zorro-antd 8.5.1
Browser Chrome

@msyesyan
Copy link
Contributor Author

@vthinkxie 请问可以知道啥原因么

@hsuanxyz
Copy link
Member

This issue has been closed due to inactivity.
Please file a new issue or discussion if you are encountering a similar or related problem.

close #4458

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

No branches or pull requests

3 participants