Not working on Safari (13.1) Desktop or IOS (13.5)
twmarr opened this issue · 6 comments
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.
Same for iOS 13.6
lately i am pretty busy, if anyone can look into this issue, that will be great
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.
@gurutvm I had the same issue with angular@8.1.1, fixed it by adding:
{
"skipLibCheck": true
}
inside the tsconfig.json file
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
Also not working in Safari 15.0 "ngx-clipboard": "^15.0.1"