Oleh Vdovenko
Results
13
comments of
Oleh Vdovenko
trafficstars
You can pass this to your Viewer component to disable JS in PDF `transformGetDocumentParams={(params) => ({ ...params, isEvalSupported: false })}`
I'm in same situation, only solution is to fork the lib and upgrade PDFjs version yourself or switch to another library that is actually maintained.
> Can anyone recommend a library that is maintained? we switched to mupdf viewer, it's commercial there's not much open source alternatives, mostly lector and pdfslick