Open MPuida opened 2 years ago
@phuocng The issue persists on the react-pdf-viewer website. If you go to the Customize the name of download file section while using an iOS device and Chrome browser, the file name becomes document
without a file type (it should be named a-copy-of-pdf-open-parameters.pdf
).
Hello,
After updating the
react-pdf-viewer
version to2.11.0
, downloading a file from safari and chrome did not work as expected. At first, downloading on either of these browsers did not include file suffix which is a type of document. The issue was fixed on safari with additional conditions and adding type.pdf
manually however, on chrome this issue persists. WhilefileNameGenerator
is provided with a custom name, the file which is being downloaded changes todocument
with no suffix.pdf
. This issue only occurs on mobile phones with IOS operating system.Kind regards, Mantas