Fix SharePoint Back Button Processing Two Clicks in Document Libraries
Question details
Users experience a navigation issue in existing SharePoint document libraries where clicking the back button after viewing an image requires two clicks, unexpectedly returning them to the site home page.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Navigating back to the document library after previewing an image file.
- Observed behavior
- The first click on the back arrow appears to do nothing, while a second click processes both actions simultaneously, bypassing the document library and returning the user directly to the site home page.
Verify if the issue occurs across multiple web browsers or in incognito mode, and check if it affects newly created document libraries to isolate the scope of the problem.
Escalate to Microsoft Support for Tenant-Level Investigation
Since this is a recognized configuration or backend bug affecting existing tenant document libraries, Microsoft escalation engineers need to collect logs to resolve it.
Forum support and standard troubleshooting cannot perform the tenant-level log collection required to fix this specific document library routing bug. Opening a formal support ticket is the most efficient path to a permanent resolution.
Navigate to the Microsoft 365 admin center and log in using your administrator credentials.
Go to the 'Support' section in the left-hand navigation menu and click on 'New service request'.
Describe the double-click back button issue, specifying that it exclusively affects image previews in existing document libraries, while Word documents and new libraries function correctly.
Explicitly request that escalation engineers collect tenant-level logs or initiate a remote session to investigate the affected libraries.

Create a New Document Library as a Workaround
As a temporary workaround, new document libraries created on the same site do not exhibit this back button behavior.
Experience Seamless Document Management with WPS Office
Dealing with persistent cloud storage and web navigation bugs can disrupt your workflow. WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office, ensuring smooth document viewing, editing, and management without interface glitches.
- 1. Download WPS Office: Visit the official WPS website and download the free desktop application for your operating system.
- 2. Install and Launch: Follow the simple installation prompts and launch the unified WPS Office suite.
- 3. Manage Files Seamlessly: Open your documents, spreadsheets, and presentations directly within the stable, tabbed workspace.

Frequently Asked Questions
Why does the back button only fail when previewing images in SharePoint?
This specific bug is tied to how SharePoint's image previewer (file viewer) interacts with the browser's history state in older or existing document library configurations, causing a mismatch in navigation steps.
Does this issue affect Word documents or videos in SharePoint document libraries?
No, user reports and testing indicate that previewing Word documents or videos in the same document library works correctly. The double-click back button bug is isolated strictly to image files.
Will clearing my browser cache fix the SharePoint back button issue?
No. Testing shows the problem persists across different browsers (Chrome, Edge, Firefox) and in incognito windows, indicating it is a backend library configuration issue rather than a local browser cache problem.




