sandanat / vue-pdf-app

VUEjs v2 PDF viewer based on Mozilla's PDFJS
MIT License
223 stars 102 forks source link

vue-pdf-app crashes the application on Mobile Firefox because of missing `window.print` #91

Open kdekooter opened 2 years ago

kdekooter commented 2 years ago

Configuration:

Steps to reproduce the problem:

Load app containing vue-pdf-app on mobile FF.

What is the expected behavior?

The app should not crash

What went wrong?

Uncaught TypeError: window.print is undefined
    ced1 vue-pdf-app.umd.js:38175
    r vue-pdf-app.umd.js:30
    fb15 vue-pdf-app.umd.js:48764
    r vue-pdf-app.umd.js:30
    e027 vue-pdf-app.umd.js:94
    e027 vue-pdf-app.umd.js:97
    e027 vue-pdf-app.umd.js:3
    e027 vue-pdf-app.umd.js:10

Attachments (screenshots, links, etc)

victor-ponamariov commented 2 years ago

+1, have the same issue

jandro5 commented 2 years ago

+1

https://caniuse.com/mdn-api_window_print