Fix Black Background When Viewing SharePoint PDFs in Microsoft Edge
Question details
Users need to resolve an issue where PDF files opened from SharePoint display with a dark or transparent black background in the browser.

- Product
- SharePoint and Microsoft Edge
- Device & OS
- Windows 10 Enterprise
- Scenario
- Viewing PDF files stored in SharePoint using the Microsoft Edge built-in PDF viewer.
- Observed behavior
- PDF files display with a dark or transparent black background around the document. This visual glitch affects some users randomly and is not resolved by changing the browser's appearance settings.
Verify your current versions of Windows and Microsoft Edge, and check if the black background issue happens with all SharePoint PDF files or only specific documents.
Use the Open in Browser Alternative
Bypass the default SharePoint viewer glitch by forcing the PDF to open directly in the browser's native viewer mode.
Often, the dark background issue is tied to the way SharePoint embeds the Edge PDF viewer. Forcing the file to open directly can temporarily bypass the rendering bug.
Navigate to the SharePoint document library where your affected PDF file is stored.
Right-click on the PDF file name to open the context menu instead of left-clicking to open it directly.
Click on 'Open in browser' from the dropdown menu. Check if the PDF now loads without the transparent black background.

Isolate the Issue and Contact Microsoft Support
Since this is often caused by a backend update or viewer engine mismatch, gathering version data and contacting support is the safest path to a permanent fix.
Read and Edit PDFs Flawlessly with WPS Office
If browser-based PDF viewers in SharePoint and Microsoft Edge are causing frustrating visual glitches, downloading and using a dedicated PDF reader is the best workaround. WPS Office offers a free, lightweight, and incredibly powerful PDF tool that avoids browser rendering issues entirely, while ensuring seamless compatibility with all your Microsoft Office files.
- 1. Download the PDF: Select the affected PDF in SharePoint and choose 'Download' to save it to your local drive.
- 2. Open with WPS Office: Right-click the downloaded PDF, select 'Open with', and choose WPS Office to view it without any background glitches.

Frequently Asked Questions
Why doesn't changing the Edge appearance setting fix the black background?
The black or transparent dark background is a rendering issue specific to the PDF viewer engine interacting with SharePoint's backend, rather than a reflection of your general browser theme or dark mode settings.
Should I uninstall recent Windows updates to fix this PDF issue?
It is not recommended to blindly uninstall Windows updates. You should first test alternative opening methods and contact Microsoft 365 Support to confirm if a specific update is at fault.
Why does the PDF background bug affect only some users?
Even if users are on the same version of Edge, A/B testing on Microsoft's backend, different user profile configurations, or slight variations in Windows Enterprise policies can cause the bug to appear inconsistently across a team.




