IO - some identifier (number) that is used to make up a file name.
In Chrome and Edge everything is ok, but in Firefox (Safari) loading is infinite because .then() is never called and promise is never resolved.
document.querySelector('.review-order-wrapper').innerHTML is a usual html code
I have "Save as PDF" on my frontend that uses html2pdf library to generate PDF from a React component.
My downloadPDF function looks like:
IO
- some identifier (number) that is used to make up a file name. In Chrome and Edge everything is ok, but in Firefox (Safari) loading is infinite because.then()
is never called and promise is never resolved.document.querySelector('.review-order-wrapper').innerHTML
is a usual html codeCC: @eKoopmans