Skip to content

ClipboardCopy uses deprecated document.execCommand DOM API #5475

Answered by nicolethoen
jkilzi asked this question in Q&A
Discussion options

You must be logged in to vote

This is an old discussion, but FWIW, we have updated the ClipboardCopy component to use the new API :)
https://github.com/patternfly/patternfly-react/blob/main/packages/react-core/src/components/ClipboardCopy/ClipboardCopy.tsx#L15

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nicolethoen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants