cbrawl
cbrawl

Reputation: 975

Embedded PDF Issue in Edge Browser

When using the Microsoft Edge browser, by default when you open a PDF it will open the PDF in a new tab using the built-in PDF viewer. To avoid this, you can adjust the browser's settings: Toggle on the "Always open PDF files externally" option. This works great. However, it presents a separate issue. Our internal applications use embedded PDFs in iframes. When the external toggle is set to on, these PDFs will not show in the iframes. This doesn't happen in Chrome. Has anyone else experienced this and know a work around?

I've tried removing the type="application/pdf" from the iframe tag to no avail. I can't find anything else online.

Upvotes: 0

Views: 5988

Answers (2)

Peter Singer
Peter Singer

Reputation: 1

I posted feedback suggesting that an exclusion/inclusion list be in included but the simplest way would be to treat the frame as part of the session. But this is not Microsoft it is the Chrome projects issue.

Upvotes: 0

Deepak-MSFT
Deepak-MSFT

Reputation: 11335

It looks like an expected result because you have enabled the option Always open PDF files externally.

So MS Edge browser is giving you an option to download the PDF file and open it using the desired app.

enter image description here

You said this doesn't happen in Chrome browser.

If you enabled the Download PDF files instead of automatically opening them in Chrome option then you will notice the same result in the Chrome browser.

enter image description here

Output in the Chrome browser:

enter image description here

If you click on the Open button then it will download the PDF file.

I did not get any solution or a workaround for this issue.

If you think that there should be an option to load the file in an iframe if Always open PDF files externally option is enabled then I suggest you click on the Send Feedback button in the MS Edge browser and try to provide your feedback about it to the Microsoft.

Upvotes: 1

Related Questions