1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

[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

View File

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