react-pdf
react-pdf copied to clipboard
PDFViewer option showToolbar="false" doesnot work
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",
I am having the same issue. I am using Edge though. Setting < PDFViewer showToolbar={false}>
doesn't disable the toolbar.
I am facing the same issue. <PDFViewer showToolbar={false} style={{ width: "100%", height: 800 }}> It doesn't work on chrome
This bug still exists on Firefox 117.0b5
2 years have passed and nobody has found a solution?