firefox onPrintDialogClose and redirect not working
Open
- Dominant language
- JavaScript
- Stars
- 4.5k
- Forks
- 688
- PR merge metrics
- No merged PRs in 30d
Description
hi there
wonderful job - I really appreciate your work.
Just encountered a small bug
on FIREFOX ( latest version mc & windows )
printJS({printable:'dummy.pdf', type:'pdf', onPrintDialogClose: () => window.location='whatever.html'});
not working
if I click in the Adressbar and afterwards in the website
-> trigger is fired and reload is done
so somehow firefox loses the focus on the current window
Any help very appreciatet
My workaround this time
SetTimeout function .. fires after 11 seconds ( enough time for the users to print the socument )
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.