react-pdf
react-pdf copied to clipboard
Feature request for "Print" option
Is possible to add a print option in the toolbox?
hi @ghanshyam-1805 , yes, it is possible, but right now our react-pdf has had it yet. How about we provide an option to add a print icon? When the user clicks on the print icon, we will save that pdf to your device?
There will be good if the native print popup will be open on click of the print icon, the Download option will be a new feature if anyone required.
@trinhngocdieu What's your suggestion?
@ghanshyam-1805 , sorry for late response. I think it is possible, I will update and let you know soon.
@trinhngocdieu Thanks.
@trinhngocdieu I have found one issue and enhancement,
- Zoom issue: When we continuously press the "zoom-out" button it throws an error in the console that "PDFViewer._setScale: "-0.19999999999999996" is an unknown zoom value." and PDF got invisible.
- Enhancement: While scrolling the PDF, thumbnails should also scroll according to the page.
It would be great if you look at these also.
Thanks!
@ghanshyam-1805 : Thank you so much, I will try to look and fix them soon. It would be great if you can create a PR, too! :)