react-upload-file icon indicating copy to clipboard operation
react-upload-file copied to clipboard

Issues when multiple ReactUploadFile are on the page

Open nikolayg opened this issue 7 years ago • 4 comments

There's an issue when two ReactUploadFile components are placed on a page.

The upload events of the second are handed by the callbacks of the first.

I assume, the component searches the DOM globally for an element and always finds the first one ...

Any workaround or fixes?

nikolayg avatar May 02 '17 08:05 nikolayg

@nikolayg thx! I will look up to it.

wubocong avatar May 14 '17 15:05 wubocong

Any update on this? I'm also seeing it.

peter-holcomb-sp avatar Jun 02 '17 18:06 peter-holcomb-sp

+1

Muzietto avatar Sep 12 '17 13:09 Muzietto

Should be addressed by using ref instead of ReactoDOM: https://github.com/wubocong/react-upload-file/pull/9

harryo avatar Dec 12 '17 09:12 harryo