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

Doesn't support multiple PDFObject

Open quangas opened this issue 6 years ago • 3 comments

Doesn't support more than one PDFObject on a page even if you put different ID's.

quangas avatar Jul 28 '19 17:07 quangas

It does, you have to assign unique a containerId to each <PDFObject />

imperio59 avatar Jan 23 '20 06:01 imperio59

A potential fix would be to generate a random/unique div ID for each PDFObject component if one is not specified, instead of defaulting to 'pdfobect' as it is currently in the code...

imperio59 avatar Jan 23 '20 06:01 imperio59

It does, you have to assign unique a containerId to each <PDFObject />

I had the same issue it fixed mine Thanks

GagikNav avatar Aug 03 '22 13:08 GagikNav