react-acrylic icon indicating copy to clipboard operation
react-acrylic copied to clipboard

Sandbox not working

Open lachlanjc opened this issue 8 years ago • 3 comments

I'm getting an error on the sandbox (latest Safari on a Mac): https://6xp9vyjj23.codesandbox.io

unable to access image data: Error: unable to access local image data: SecurityError (DOM Exception 18): The operation is insecure.

lachlanjc avatar Oct 02 '17 02:10 lachlanjc

Same over here, on Chrome:

Unhandled Rejection (Error)

unable to access image data: Error: unable to access local image data: SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

EnoahNetzach avatar Oct 03 '17 08:10 EnoahNetzach

@EnoahNetzach is that in sandbox? it's happened because of CORS, you must provide your image on same domain.

damaera avatar Oct 03 '17 08:10 damaera

Still seeing this 😕

lachlanjc avatar Feb 01 '18 00:02 lachlanjc