Closed
Description
openedon Dec 18, 2023
Description
ClipboardJS latest version is 2.0.11 see https://github.com/zenorocha/clipboard.js/releases/tag/v2.0.11 released 1 year and a half ago.
It includes a fix for a focus loss issue that was reported upstream at zenorocha/clipboard.js#680
In #23994 / #24022 we introduced a workaround that is no longer necessary. Worth noting packages/compose/src/hooks/use-copy-on-click/index.js
is now deprecated. The same workaround was ported to the new hook useCopyToClipboard
.
WordPress Core already uses ClipboardJS 2.0.11.
Step-by-step reproduction instructions
N/A
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment