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 Select component with showAction focus and click is closed immediately when the previously selected component has a blur action with an expensive function #20007

Open
1 task done
krailler opened this issue Nov 29, 2019 · 1 comment
Labels

Comments

@krailler
Copy link

krailler commented Nov 29, 2019

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

When you click on the input and then click on the select, the options will be show and hidden immediately.

What is expected?

The select options are shown and don't hide when the focus event arrives.

What is actually happening?

The select options are hidden immediately when the focus event arrives.

Environment Info
antd 3.25.3
React latest (16.12.0)
System macOS Catalina 10.15
Browser Chrome/78.0.3904.108

This only passes when the previously selected component has a blur action with an expensive function.

Refs:
#14296
#6873

@zsf3
Copy link

zsf3 commented Feb 8, 2020

any update on this one? I am facing same issue and I do not have any onblur prop on select.

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

4 participants