-
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
Firefox - Dynamic content jQuery Dialog - the text is not copied to clipboard #187
Comments
Sorry, tried to replicate on jsFiddle, looks like something is interfering, so not a clipboard.js issue. |
Cool, thanks for coming back and letting me know ;) |
@loter I see something strange in fiddler example, with textarea (or any input) you get the value by method |
Did some more investigation since we are using this library (thank you, we like it!), but this is some kind of bug, maybe you can figure out and fix it, the test cases are:
kafeltz, you're right, but it doesn't fix the issue and still works in the same way. |
Indeed in firefox has a problem with jQuery 2.1.x |
Still no idea why this is happening. If you find a solution, feel free to send a PR.
|
@zenorocha Is there any reason why you removed the notice on the "Known Limitations" wiki page? I have the same issue with newest version of jquery, jquery ui and clipboard.js, so I'm really curious if there is a fix, or at least a workaround, for it. |
Hey @CharlotteDunois, we found the solution for Bootstrap's Modal so I moved that part to "Known Issues". For jQueryUI's Dialog, I found a very similar solution. Try adding this line to your code: $.ui.dialog.prototype._focusTabbable = $.noop; More info at: https://github.com/zenorocha/clipboard.js/wiki/Known-Issues |
Check the new |
Hi,
I have it in jquery dialog - when I press copy, the console displays
Action: copy
Text: "MyText"
Trigger:
but the result ("MyText") doesn't go to clipboard for some reason. Any hints?
The text was updated successfully, but these errors were encountered: