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

PDFViewer option showToolbar="false" doesnot work

Open krushna-cruxbyte opened this issue 3 years ago • 4 comments

Describe the bug I am using PDFViewer to display the created pdf doc. I want to hide the toolbar in the pdf viewer. I have set the option showToolbar="false" but in vain.

To Reproduce "< PDFViewer width="1000px" height="600px" showToolbar={false}> .... </ PDFViewer >"

Expected behavior I want to hide the toolbar in the pdf viewer.

Desktop (please complete the following information):

  • OS: Windows
  • Browser [chrome, firefox]
  • "@react-pdf/renderer": "^1.6.17",

krushna-cruxbyte avatar Dec 30 '21 15:12 krushna-cruxbyte

I am having the same issue. I am using Edge though. Setting < PDFViewer showToolbar={false}> doesn't disable the toolbar.

owenduncansnobel avatar Feb 07 '22 15:02 owenduncansnobel

I am facing the same issue. <PDFViewer showToolbar={false} style={{ width: "100%", height: 800 }}> It doesn't work on chrome

Krishna00001 avatar Sep 19 '22 06:09 Krishna00001

This bug still exists on Firefox 117.0b5

ap-1 avatar Aug 10 '23 20:08 ap-1

2 years have passed and nobody has found a solution?

RiccardoElisabetti avatar Apr 28 '24 17:04 RiccardoElisabetti