react-to-pdf
react-to-pdf copied to clipboard
Pdf generation is stuck after updating to Chrome v138
This is the code I am using:
`const { toPDF, targetRef } = usePDF({ filename: 'page.pdf' })
<button onClick={() => toPDF()}>Download PDF
Content to be included in the PDF
`
The app is stuck after pressing the button.
Do you know can I solve it?
Thanks in advance