Skip to content

Conversation

@Emahhh
Copy link

@Emahhh Emahhh commented Jan 29, 2025

I changed the code to ensure that PDF.js is used when displaying an embedded PDF on Safari from iPhones or iPads.

Currently, when tested on an iPhone, it uses the iframe strategy. This is not ideal because, for some reason, iOS only displays the first page of the PDF. Therefore, it would be better to use PDF.js in this case.

P.S.: than you for creating this component! It is very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant