arasaac-frontend icon indicating copy to clipboard operation
arasaac-frontend copied to clipboard

Copy pictogram functionality not working on Firefox and Windows

Open juanda99 opened this issue 5 years ago • 2 comments

I get an error on firefox: Uncaught ReferenceError: ClipboardItem is not defined

Seem to be related to this bug (still not implemented): https://bugzilla.mozilla.org/show_bug.cgi?id=1619251

Alpha channel not working on Windows, get a black background color. Working ok in Mac & Linux

juanda99 avatar Oct 14 '20 20:10 juanda99

Maybe adding a polyfill like https://github.com/lgarron/clipboard-polyfill could help 🤔

also what are the target browsers for the project?

eMerzh avatar Oct 14 '20 20:10 eMerzh

Not sure the polyfill could help as it is not text plain. We try to fit all modern browsers but no specific rule defined in our dev.

juanda99 avatar Oct 14 '20 20:10 juanda99