diegomura / react-pdf

📄 Create PDF files using React
https://react-pdf.org
MIT License
15.04k stars 1.19k forks source link

PDF not openable when using "Download PDFs" settings for PDF documents in Chrome #2190

Open alexleonov-tactiq opened 1 year ago

alexleonov-tactiq commented 1 year ago

Describe the bug PDF not openable when using "Download PDFs" settings for PDF documents in Chrome - the Open button's link (blob:...) is invalid and points not to the blob but to the iframe's own URL.

To Reproduce Steps to reproduce the behavior including code snippet (if applies):

  1. Go to 'chrome://settings/content/pdfDocuments?search=pdf'
  2. Set behaviour to "Download PDFs': image
  3. Open the page with PDFViewer image
  4. Click on Open
  5. Boom image

Expected behavior Should either download the document or open it.

Desktop (please complete the following information):

alexleonov-tactiq commented 1 year ago

Bump?