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

Modal not destroy when fired twice time #47536

Closed
h-vien opened this issue Feb 22, 2024 · 1 comment
Closed

Modal not destroy when fired twice time #47536

h-vien opened this issue Feb 22, 2024 · 1 comment

Comments

@h-vien
Copy link

h-vien commented Feb 22, 2024

Reproduction link

Screen.Recording.2024-02-22.at.10.18.18.mov

Steps to reproduce

When clicking open modal too fast, it will be duplicate

What is expected?

Destroy last open modal or not duplicate

What is actually happening?

It duplicates same modal

Environment Info
antd 5.14.1
React ^18.2.0
System MacOS
Browser Chrome
@MadCcc
Copy link
Member

MadCcc commented Feb 22, 2024

Fixed in #47508

@MadCcc MadCcc closed this as completed Feb 22, 2024
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

2 participants