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

Can't open images with more than 100kb in src property

Open BrunoBudelRossi opened this issue 3 years ago • 4 comments

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)

BrunoBudelRossi avatar Oct 03 '22 19:10 BrunoBudelRossi

@kirill3333 bro, can you suggest a way to fix this?

afgprogrammer avatar Nov 13 '22 11:11 afgprogrammer

somehow for me it works with >100kb, was it fixed but issue still opened?

Alex-Github-Account avatar Dec 22 '22 17:12 Alex-Github-Account

Don't think it's the library itself causing that error. I'm also investigating it atm.

Alex-Van-Dijck avatar Mar 07 '23 14:03 Alex-Van-Dijck

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

Alex-Van-Dijck avatar Mar 08 '23 13:03 Alex-Van-Dijck