PDF it came without file extension.
sajozsattila opened this issue · 5 comments
Comment on reddit.com:
The issue is the same as in this problem.
As all modern browser supporting PDF, the expected behaviour of the PDF generation to open in a new tap, with windows.open()
JavaScript function. However, this is basically open up a blob, which filenames can not set. When somebody set the browser to automatic download for pdf files, like above, basically we save the blob without filename.
One solution could be to change the default behaviour and instead of open the PDF in a new tab, download straight. But I believe for most user the tab is more convenient, as they straight can see the result, without searching and opening in a different application. So I rather do not change this behaviour.
I changed the browser settings (I don't remeber when and how I changed said option in first place). Now exporting the PDF file works as intended. Thanks for the time!