Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Copy events do not trigger local state changes in latest version of Chrome. #13

Closed
bertho-zero opened this issue Nov 27, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@bertho-zero
Copy link

If I copy anything on the page with CTRL + C or via the context menu the value then useClippy is not updated, maybe missing a listener like window.addEventListener('copy', func)

@bertho-zero
Copy link
Author

bertho-zero commented Nov 27, 2019

This event is never called in the latest version of chrome.

navigator.clipboard.addEventListener('copy', clipboardListener)

EDIT: even with permissions

@quisido quisido changed the title clipboard is not up to date Copy events do not trigger local state changes in latest version of Chrome. Nov 30, 2019
@quisido quisido added the bug Something isn't working label Nov 30, 2019
@quisido quisido self-assigned this Nov 30, 2019
@wootwoot1234
Copy link

@CharlesStover Can you publish version 1.0.5 to npm?

@quisido
Copy link
Collaborator

quisido commented Feb 11, 2020

Thanks for pointing this out. TravisCI deprecated their old deployment configuration. I've just updated it, and 1.0.5 should be headed out now!

@wootwoot1234
Copy link

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants