IE11 Not Support Again
SkarenD opened this issue · 1 comments
When trying to view a pdf via ie11 this error occurs: Error in loading pdf: The browser/environment lacks native support for critical functionality used by the PDF.js library (e.g.
ReadableStreamand/or
Promise.allSettled); please use an ES5-compatible build instead.
To solve the problem it is necessary to modify in pdfvuer.vue the import of the pdf.js libraries with their version compatible with es5, this means touching the node-modules.
Consequently I request the inclusion of a version compatible with IE11
PS - I am aware that IE11 will no longer be supported from July 2022, but the customers we are working for are still using it and have no plans to change it, therefore compatibility of all third party libraries with ie11 is required
I think you're better off making a local copy of the component and manually locking pdf.js to a version with the correct compatibility