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

Not working in android's chrome

Open Drealler opened this issue 3 years ago • 1 comments

Describe the bug PDF not loading in android chrome. It stucks with a Open button that does nothing.

To Reproduce

  1. Open any generated PDF in android's chrome

Expected behavior Works as it does in a web browser

Screenshots (Abrir means Open) image

Specs:

  • OS: Android
  • Browser: Chrome
  • React-pdf version: 2.3.0

Drealler avatar Jul 20 '22 17:07 Drealler

Hi, any update about it ? I have the same issue

dany68 avatar Sep 09 '24 19:09 dany68

Seems like it's working, just that the browser seems not able to render the document. <PDFViewer /> just renders an iframe that leverages whatever the browser chooses to render the doc. If you need something more custom you will need to build it yourself. Like getting the documet blob, and rendering it with https://github.com/wojtekmaj/react-pdf

diegomura avatar Nov 17 '24 00:11 diegomura