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

Chrome (and others?) Fails to copy to clipboard when value is a number #34

Open
danomatic opened this issue Sep 8, 2014 · 3 comments
Open

Comments

@danomatic
Copy link

This solved the issue for me:

clipboard.setData('text/plain', scope.$eval(scope.clipCopy) + '');

@asafdav
Copy link
Owner

asafdav commented Oct 4, 2014

I can't reproduce your issue, works as expected. Can you please share a fiddle or gist?

@Shawful
Copy link

Shawful commented Oct 6, 2014

I experience the same problem by running the link below in a chrome browser.

http://jsfiddle.net/asafdav/8YQcz/6/

I click the copy button, and then press CTRL+V to paste the "ngClip is awesome!" text, but only text from a previous copy is pasted.

@asafdav
Copy link
Owner

asafdav commented Oct 6, 2014

This example uses an old version of ng-clip, have you tried using the latest version ?

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

3 participants