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 delay property of the Button component is invalid #37719

Closed
guaijie opened this issue Sep 23, 2022 · 2 comments
Closed

The delay property of the Button component is invalid #37719

guaijie opened this issue Sep 23, 2022 · 2 comments

Comments

@guaijie
Copy link

guaijie commented Sep 23, 2022

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<Button loading={{ delay: 3000}}>click</Button>

The Button will immediately enter the loading state

What is expected?

Button waits 3s before entering the loading state

What is actually happening?

The Button will immediately enter the loading state

Environment Info
antd 4.23.2
React 16.8.6
System windows11
Browser Google 100.0.4896.60
@github-actions
Copy link
Contributor

@MadCcc
Copy link
Member

MadCcc commented Sep 23, 2022

@MadCcc MadCcc closed this as completed Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants