-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Typography copyable not refreshing text to be copied #48075
Comments
Pls set your codesandbox to public : ) |
Hello @janarvaezkng. Please provide a online reproduction by forking codesandbox of antd@5.x or antd@4.x, or provide a minimal GitHub repository. Issues labeled by 你好 @janarvaezkng,我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 antd@5.x 或 antd@4.x 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。 |
😬 sorry! done |
I'm not sure if it's because of |
I've updated the codesandbox. If you now hover, you'll see that the tooltip shows the correct url, but it's still not copying it correctly. |
I will try to fix it |
Because the children have changed, copying is not a problem |
Reproduction link
Steps to reproduce
in the sandbox:
What is expected?
clicking the button to copy actually copies the latest value
What is actually happening?
The copy text is somehow memoised to de previous value
The text was updated successfully, but these errors were encountered: