Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE11 Not Support Again #119

Open
SkarenD opened this issue Apr 14, 2022 · 1 comment
Open

IE11 Not Support Again #119

SkarenD opened this issue Apr 14, 2022 · 1 comment

Comments

@SkarenD
Copy link

SkarenD commented Apr 14, 2022

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

@JonasPardon
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants