1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00: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

View File

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