Developing and testing features or extensions for Microsoft Edge
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are encountering a problem where the sidebar in Microsoft Edge refreshes or reloads every time a user switches between browser tabs, causing them to lose any in-progress work or context within the sidebar. This disrupts the browsing flow and requires users to repeatedly set up or reload the sidebar content.
Environment Details
• Operating System: macOS (Sequoia v15.2)
• Browser Version: Microsoft Edge (latest stable release)
• Extension: A typical sidebar extension that loads interactive content or services
Issue Description
When users open the sidebar on a specific tab, then navigate to a different tab, and switch back, the sidebar does not retain its previous state. Instead, it appears to reload or refresh entirely. This can lead to lost form inputs, reset navigation state, or other inconveniences.
Steps to Reproduce
Actual Result: The sidebar reloads or resets, losing the user’s previous state.
Expected Result: The sidebar should remain in its current state when returning to the original tab.
Thank you for your assistance!
Developing and testing features or extensions for Microsoft Edge
Hi Rishab Lamba,
I wanted to share some details about the Microsoft Edge sidebar reloading issue that occurs every time you switch tabs and return, leading to the loss of unsaved data, input, or navigation state within the sidebar.
Edge > Settings > System and Performance.Save resources with sleeping tabs.Never put these sites to sleep exception list.edge://discards/edge://discards/ in your Edge browser.toggle to set it to false. Edge > Settings > System and Performance."Never put these sites to sleep", add the domain name of the website or extension you want to keep running.If you're using an extension's sidebar, consider contacting the developer. They may be able to implement better state persistence in their extension.
These steps should help you manage and reduce sidebar reloading in Microsoft Edge. If you have any other questions or need further assistance, feel free to ask!
Hi Rishab Lamba,
I wanted to share some details about the Microsoft Edge sidebar reloading issue every time the user switches tabs and comes back, causing loss of unsaved data, input, or navigation state within the sidebar.
Why your sidebar keeps reloading:
_Edge's resource-saving feature (Tab Off): Edge is designed to be efficient. It automatically puts inactive tabs to sleep to save memory and CPU. When a tab goes to sleep, its contents—including any open sidebars—are removed from memory. So when you return to that tab, the sidebar has to reload from scratch.
_Sidebar Doesn't "Remember" Its State: Think of the sidebar as a separate mini-webpage or extension view. If it isn't specifically programmed to store temporary data like what you've typed into a form, where you've scrolled, or where you've navigated, all of that information will be lost when the tab is removed.
_OS Limitations (Particularly on macOS): macOS, in particular, has a pretty strict memory management mechanism. This can cause the browser and tabs to load slower than other systems, increasing the likelihood that your sidebar will have to reload.
_No Persistent Background Connection: If the sidebar doesn't have a persistent connection to a background service, it has no way to "remember" its context. Each reload is like starting over from scratch, with no saved state.
Here are some solutions you can try
Edge > Settings > System and Performance.
Turn off "Save resources with sleeping tabs".
You can also add important sites to "Never put these sites to sleep" to prevent them from being dismissed. edge://discards/:
Go to edge://discards/ in your Edge browser.
Find the tab that the sidebar or app is running in.
In the "Auto-Discard" column, click the toggle to set it to false.
This will prevent Edge from automatically putting that particular tab to sleep. Edge > Settings > System and Performance).
Under "Never put these sites to sleep," add the domain name of the website or extension that you want to keep running. I hope this information is helpful and gives you some ways to manage sidebar reloading. Let me know if you have any other questions or need further assistance!
Hi @Rishab Lamba ,
Thank you for your feedback. Please note that it has been identified as a known issue that the sidebar is not automatically displayed again when the user switches to a tab in which the sidebar was previously open (Issue #142).
The Edge Dev Team has been actively investigating this issue. You can follow the issue post for more information. Thank you for your understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
Shijie Li