From ad3c680f2c755739f10c8b334b15daabc43c48a9 Mon Sep 17 00:00:00 2001 From: Cesar Gonzalez Date: Thu, 8 Aug 2024 11:30:50 -0500 Subject: [PATCH] [PM-10554] Focused field needs to consider the bounds of a frame to be part of its max height (#10447) --- .../src/autofill/services/autofill-overlay-content.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browser/src/autofill/services/autofill-overlay-content.service.ts b/apps/browser/src/autofill/services/autofill-overlay-content.service.ts index 064c76b657..5b641e46c1 100644 --- a/apps/browser/src/autofill/services/autofill-overlay-content.service.ts +++ b/apps/browser/src/autofill/services/autofill-overlay-content.service.ts @@ -1428,7 +1428,7 @@ export class AutofillOverlayContentService implements AutofillOverlayContentServ !globalThis.isNaN(focusedFieldRectsTop) && focusedFieldRectsTop >= 0 && focusedFieldRectsTop < viewportHeight && - focusedFieldRectsBottom < viewportHeight + focusedFieldRectsBottom <= viewportHeight ); }