Closed tsafs closed 1 year ago
I am facing same error. It seems the component is not compatible with React 17, It works fine with React 16.
i ran the same error. I am still with React 16, for me it was triggered when I upgraded react-scripts to v4.x.x.
Upgrading react-sketch to 0.5.7 (using the npm module "react-sketch2") seems to have solved my issue.
Upgrading react-sketch to 0.5.7 (using the npm module "react-sketch2") seems to have solved my issue.
Solved issue too
Hi
Thanks for the module, it's been giving me a good idea of what I can do with the canvas. I will not be using this module anymore, but just found an error that you might be interested in.
It's occurring on the latest React version with the latest react-sketch version and only on the latest versions (probably also earlier versions) of Firefox, Firefox Mobile, Opera Mobile, others I haven't tested.
It is because those browsers do not support SharedArrayBuffer.
I haven't dug deeper into the issue, because I'm dropping your module from my work, but here you go.
Happy hacking 👍