Open peronczyk opened 3 months ago
I spent some time on trying to write logic that would check if user opened the extension popup or side panel and I didn't found any solution. I asked the community for help: https://stackoverflow.com/questions/78791831/detecting-if-browser-extension-is-running-as-popup-or-side-panel
This task is a follow up to this one: https://github.com/superhero-com/superhero-wallet/issues/2083
We need to have the possibility to know if user is opening the extension as the popup or side panel. This would allow us to open the confirmation modals to be open within the app instead of new windows when displaying as side panel.