Skip to content
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

Copy error message no longer shows in IE11 #536

Closed
csiviter opened this issue Mar 15, 2018 · 2 comments
Closed

Copy error message no longer shows in IE11 #536

csiviter opened this issue Mar 15, 2018 · 2 comments

Comments

@csiviter
Copy link

Reproduction Steps

  1. Go to https://clipboardjs.com/ in Windows 10/IE11 (I am using browserstack but I have reproduced the issue in a real browser with our forked version as well).

  2. Click on the copy button in the Copy text from another element section

  3. When the clipboard prompt from IE11 comes up, say don't allow

screenshot 2018-03-15 16 32 29

Expected behaviour

As the link was not successfully copied to the user's clipboard it should enter the clipboard on error function and display the text Press Ctrl+C to copy this used to work fine in this browser!

Actual behaviour

It says Copied to the user which implies the text has been copied successfully (even though it hasn't)

screenshot 2018-03-15 16 32 32

Browsers affected

Have only reproduced in IE11 so far - tried in Safari on iPhone 6 and that says the message No support :(

@JPBetley
Copy link

@csiviter, this issue has been discussed in #77. Sadly, it is a known issue with IE where it reports success, even if the user selects "Don't Allow". https://github.com/zenorocha/clipboard.js/wiki/Known-Issues

As of now, there is no known solution, but someone at the bottom of that thread has recommended a possible workaround, which may help: #77 (comment)

@csiviter
Copy link
Author

csiviter commented Apr 16, 2018

Apologies for the dupe issue and thanks for finding a potential solution @JPBetley ! I'll close this issue now then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants