react-pdf-js icon indicating copy to clipboard operation
react-pdf-js copied to clipboard

polyfill support for promise.withResolvers

Open sujoys12 opened this issue 1 year ago • 0 comments

The current version 4 of pdfjs-dist is using Promise.withResolvers, which is not supported in older browsers. The FAQ of the pdfjs-dist repository suggests using the legacy build of the library for older browsers. You can find more information about this suggestion at https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#legacy-build. How should this be handled in relation to react-pdf-js?

sujoys12 avatar Jun 19 '24 13:06 sujoys12