mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
ef1b1d5738
* Fix popup/notification when browser is in fullscreen, primarily on OSX. The issue was reported internally via Slack. User was running Mac OSX Chrome in fullscreen mode where Chrome is created in a new Desktop workspace. The issue reproduced on OSX Chrome in fullscreen/maximized view overrides the explicitly set width and height for `windows.create()`. Possibly not overrides, but creates a window based off of the window that it was created from. Found a related [Chromium bug](https://bugs.chromium.org/p/chromium/issues/detail?id=263092&q=window%20create%20width%20os%3DMac&can=2). The fullscreen `popup.left` pixel will calculate the window position incorrectly since we set and assume the width of the created window. The incorrect `left` position the window and transition the focus Desktop/Workspace incorrectly and make is seem to lose focus of the new window/workspace. Incidentally this will make the popup full width/height, and create a new workspace for the view, which we have no control over until Chrome fixes it. This will check if the popup is 'fullscreen', which it gets passed from the origin window, if so then don't reposition the window. If Chrome fixes the issue we can revert this change. * Feedback commit Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: Mark Stacey <markjstacey@gmail.com> |
||
---|---|---|
.. | ||
ens-ipfs | ||
migrator | ||
account-tracker.js | ||
auto-reload.js | ||
backend-metametrics.js | ||
buy-eth-url.js | ||
cleanErrorStack.js | ||
ComposableObservableStore.js | ||
createLoggerMiddleware.js | ||
createOnboardingMiddleware.js | ||
createOriginMiddleware.js | ||
createStreamSink.js | ||
createTabIdMiddleware.js | ||
decrypt-message-manager.js | ||
encryption-public-key-manager.js | ||
enums.js | ||
extractEthjsErrorMessage.js | ||
fetch-with-timeout.js | ||
freezeGlobals.js | ||
get-first-preferred-lang-code.js | ||
getObjStructure.js | ||
local-store.js | ||
message-manager.js | ||
network-store.js | ||
nodeify.js | ||
notification-manager.js | ||
personal-message-manager.js | ||
random-id.js | ||
seed-phrase-verifier.js | ||
select-chain-id.js | ||
setupFetchDebugging.js | ||
setupSentry.js | ||
stream-utils.js | ||
typed-message-manager.js | ||
util.js |