[PM-10554] Focused field needs to consider the bounds of a frame to be part of its max height (#10447)

This commit is contained in:
Cesar Gonzalez 2024-08-08 11:30:50 -05:00 committed by GitHub
parent c1bf1a797f
commit ad3c680f2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1428,7 +1428,7 @@ export class AutofillOverlayContentService implements AutofillOverlayContentServ
!globalThis.isNaN(focusedFieldRectsTop) &&
focusedFieldRectsTop >= 0 &&
focusedFieldRectsTop < viewportHeight &&
focusedFieldRectsBottom < viewportHeight
focusedFieldRectsBottom <= viewportHeight
);
}