-
Notifications
You must be signed in to change notification settings - Fork 4k
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
clicking an element inside the 'target' throws exception. #119
Comments
👍 |
👍 +1 for me on this issue |
🚀 |
👍 |
Fixed on v1.5.4! Thanks @pawlufelice for contributing! |
And let me know if this new release works for you ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a button with a span in it. The Clipboard instance is created with the button as the target, but clicking on the span throws an error (listener checks if target has required attributes). The onClick should use
e.currentTarget
instead ofe.target
I think:Thanks,
Paul
The text was updated successfully, but these errors were encountered: