Open abhijit-hota opened 3 years ago
It makes sense to switch to use navigator.clipboard
instead. I'd be ok replacing copy-to-clipboard
with it. Just need to do a bit of testing around. And maybe keep the previous implementation as a fallback for some time.
Just stumbling across this, was this ever switched over to use navigator
API rather than execCommand('copy')
?
Not an issue. Just an heads up.
The
execCommand
feature, on which the packagecopy-to-clipboard
depends on, is now obsolete. Relevant issue.The author of that package is thinking of "deprecating the library altogether", which I think is the right thing to do.