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

Not working on Safari (13.1) Desktop or IOS (13.5) #243

Open
twmarr opened this issue Jun 16, 2020 · 6 comments
Open

Not working on Safari (13.1) Desktop or IOS (13.5) #243

twmarr opened this issue Jun 16, 2020 · 6 comments

Comments

@twmarr
Copy link

twmarr commented Jun 16, 2020

Angular 9, IONIC 5, ngx-clipboard 13.01

The copy to clipboard I am doing is really simple. It takes a string of data, usually in csv format to copy to the clipboard.

  if (this.clipboard.copyFromContent(data.toString())) {
    console.log('Copy success')
  }

The copyFromContent always returns false on Safari on either Desktop or IOS.

@BoJIbFbI4
Copy link

Same for iOS 13.6

@maxisam
Copy link
Owner

maxisam commented Aug 5, 2020

lately i am pretty busy, if anyone can look into this issue, that will be great

@gurutvm
Copy link

gurutvm commented Sep 18, 2020

Angular 9, IONIC 5, ngx-clipboard 13.01

The copy to clipboard I am doing is really simple. It takes a string of data, usually in csv format to copy to the clipboard.

  if (this.clipboard.copyFromContent(data.toString())) {
    console.log('Copy success')
  }

The copyFromContent always returns false on Safari on either Desktop or IOS.

i can see fixed for that but after update package version 13.0.1
getting error
ERROR in node_modules/ngx-clipboard/lib/ngx-clipboard.service.d.ts(16,9): error TS1086: An accessor cannot be declared in an ambient context.

@enrifransch
Copy link

@gurutvm I had the same issue with [email protected], fixed it by adding:

{
"skipLibCheck": true
} 

inside the tsconfig.json file

@guygilboa
Copy link

In my opinion, it's bad to add that global setting. Why no one is fixing the issue after version 13.0.1 as described above?

The copy is not working in Safari till that version and from that version, you cannot work with that package.

Tnx

@MB175
Copy link

MB175 commented Jan 17, 2022

Also not working in Safari 15.0 "ngx-clipboard": "^15.0.1"

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

No branches or pull requests

7 participants