fix(connect-webextension): Trezor popup displaying UNDER browser extension popup on Linux (Firefox) #13527
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
When a browser extension opens its own popup (via
chrome.windows.create
as atype: popup
) on Linux (Firefox), this window stays always on top. If the Trezor popup then gets requested within this extension popup, the Trezor popup was appearing behind the extension popup, because the Trezor's one had the default type ("normal").This made the Trezor popup hardly accessible (visible) for the user, if one doesn't think to move away the extension popup.
With this change, when a Trezor popup gets opened from a browser extension popup, it will appear on top of the extension popup.
Related Issue
#13526