Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

environment/permissions: Fix permission popup not showing #5538

Merged

Conversation

larsjohnsen
Copy link
Collaborator

window.screen is not available in manifest v3, causing the prompt window fallback method to fail. This uses the web extension API to find the coordinates to place the popup.

The fallback method is ordinarily not needed in Chrome, but other extensions may interfere (see #5531) Chrome's detection of user initiated permission requests.

Relevant issue: #5531
Tested in browser: Firefox 130, Chrome 128

`window.screen` is not available in manifest v3, causing the prompt window fallback method to fail.
@benmcgarry
Copy link
Collaborator

lmk if good to merge and will do a release this weekend.

@larsjohnsen
Copy link
Collaborator Author

lmk if good to merge and will do a release this weekend.

Should be good to go!

@benmcgarry benmcgarry merged commit 3b15c36 into honestbleeps:master Sep 21, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants