MicrosoftEdge-Extensions icon indicating copy to clipboard operation
MicrosoftEdge-Extensions copied to clipboard

[Bug - Edge Addons] Sidepanel API reloads app on every tab

Open bjohnsonfrontsteps opened this issue 1 year ago • 14 comments

In edge, an angular app is re-initialized each time the user switches tabs while the global sidepanel is open. In chrome, the app is not re-initialized (expected behavior)

To Reproduce Steps to reproduce the behavior:

  • Clone the repository at https://github.com/bjohnsonfrontsteps/extension-issue
  • npm install
  • run ng build
  • load unpacked the www output folder in both chrome and edge
  • click the extension to open the sidepanel. (this displays the reload count in the UI)
  • In edge, with the sidepanel open, switch between tabs and notice the reload count increment.
  • In chrome, with the sidepanel open, switch between tabs and notice the reload count remain at 1.

OS: [MacOS, Windows 11] Browser [Edge] Version [Version 130.0.2849.68 (Official build) (arm64)]

bjohnsonfrontsteps avatar Nov 07 '24 19:11 bjohnsonfrontsteps

Hi @bjohnsonfrontsteps, thank you for reporting this. We are looking into this and will let you know as soon as we have an update.

ManikanthMSFT avatar Nov 08 '24 04:11 ManikanthMSFT

We are also running into this issue on mac and windows, specifically these versions of Edge

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0

shoopapa avatar Nov 26 '24 23:11 shoopapa

Hi @shoopapa, thank you for reporting this. We have forwarded this to our team and once we get an update we will write back to you.

ManikanthMSFT avatar Nov 27 '24 04:11 ManikanthMSFT

Hi @ManikanthMSFT, bringing this up again. Sidepanel extensions are highly hindered on edge, we are having to store nearly every state value into local storage to persist state when users switch tabs, very untenable. (our use case has a form and its common for users to change tabs to find the values they need) Also happy to contribute if you can point me in the right direction

shoopapa avatar Jan 28 '25 17:01 shoopapa

Hello, We have the same issue on our side. Extension is reload each time a user move from a tab to another one.

Any update on this issue ?

Thank you !

nporchis avatar Jul 08 '25 15:07 nporchis

@ManikanthMSFT Any news on this? I thought that the bug was solved but it seems to have reappeared

shoopapa avatar Jul 12 '25 21:07 shoopapa

does anyone have a solution for this issue? we are experiencing the same thing now

JoeyVasconcelos avatar Jul 29 '25 14:07 JoeyVasconcelos

Hi @JoeyVasconcelos

I am Rahul from the Microsoft Edge Extensions Developer Support team.

Quick update from the internal team: resolving side panel-related issues is part of our future roadmap. We're currently re-evaluating the overall side panel strategy, which may lead to changes in the API design or behavior.

We're still waiting on further input from the concerned team. I’ll post updates here as soon as they’re available. In the meantime, if you have any technical insights, workarounds, or related observations, please share them in this thread to help inform the discussion.

Rahul-Bauri avatar Aug 06 '25 05:08 Rahul-Bauri

Hi @Rahul-Bauri, thanks for your support. Is there any ETA on that issue? It's blocking our development. Thanks

sszczep avatar Aug 07 '25 09:08 sszczep

Hi @sszczep, I understand this bug is currently blocking your development process. At the moment, we don’t have a confirmed ETA to share. However, I’ll reach out to the internal team to check if they can provide a timeline and will make sure they’re aware of the urgency due to the impact on your development. I’ll keep you updated as soon as I hear back.

Rahul-Bauri avatar Aug 07 '25 09:08 Rahul-Bauri

I have also encountered this problem. In my project, I used react-router routing (createHashRouter). If createHashRouter is changed to createMemoryRouter, the side-panel page will no longer refresh after switching tabs. 😂😂 @sszczep You can also try it out~ But I haven't used createMemoryRouter before, and I don't know if there will be other issues when using it in a browser plugin. I hope the official team can fix this problem as soon as possible.

augustVino avatar Aug 13 '25 07:08 augustVino

I have encountered the same issue and urgently need a solution. Please provide one as soon as possible. Thank you.

xiaojunGitHub avatar Sep 10 '25 02:09 xiaojunGitHub

Is there any chance to speed up the resolution of this issue? Due to this behavior with extensions, many of our users will have to switch to an alternative browser. E.g., in Chrome, it works correctly. Only Edge is broken.

lukaszch avatar Oct 16 '25 17:10 lukaszch

Hi @lukaszch @xiaojunGitHub

Our engineering team is actively working to resolve the side panel issue. At this time, I’m unable to provide a timeline for the fix, but please be assured that the team is aware and prioritising a solution as quickly as possible

Rahul-Bauri avatar Oct 17 '25 05:10 Rahul-Bauri