sugarshin/react-pdfobject

Doesn't support multiple PDFObject

quangas opened this issue · 3 comments

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

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

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...

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

I had the same issue it fixed mine
Thanks