react-avatar
react-avatar copied to clipboard
Can't open images with more than 100kb in src property
Uncaught ReferenceError: n is not defined at v (react-avatar.js:1:36132) at f (react-avatar.js:1:34914) at react-avatar.js:1:32296 at i3 (react-avatar.js:1:32330) at FileReader.onload (react-avatar.js:1:34317)
@kirill3333 bro, can you suggest a way to fix this?
somehow for me it works with >100kb, was it fixed but issue still opened?
Don't think it's the library itself causing that error. I'm also investigating it atm.
Update: the error is in the exif-js library being used. It has a variable that isn't being declared which strictmode doesn't like. https://github.com/exif-js/exif-js/issues/120