From e542a97529a170c9f1fbecce414856d02a476a19 Mon Sep 17 00:00:00 2001 From: Jeffrey Holland Date: Fri, 17 Oct 2025 14:00:08 +0200 Subject: [PATCH] Address modal popup issue --- .../desktop/src/autofill/services/desktop-autofill.service.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/desktop/src/autofill/services/desktop-autofill.service.ts b/apps/desktop/src/autofill/services/desktop-autofill.service.ts index 29ecb83f3a1..1d826bd5f2a 100644 --- a/apps/desktop/src/autofill/services/desktop-autofill.service.ts +++ b/apps/desktop/src/autofill/services/desktop-autofill.service.ts @@ -43,7 +43,6 @@ import { NativeAutofillPasswordCredential, NativeAutofillSyncCommand, } from "../../platform/main/autofill/sync.command"; -import { isMac } from "../../utils"; import type { NativeWindowObject } from "./desktop-fido2-user-interface.service"; @@ -443,9 +442,8 @@ export class DesktopAutofillService implements OnDestroy { } function normalizePosition(position: { x: number; y: number }): { x: number; y: number } { - // If macOS, the position we're sending is too far left. // Add 100 pixels to the x-coordinate to offset the native OS dialog positioning. - const xPostionOffset = isMac() ? 100 : 0; // Offset for native dialog positioning + const xPostionOffset = 100; return { x: Math.round(position.x + xPostionOffset),