mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Ignore non-'visible' overlays
This commit is contained in:
parent
dd9d3d0b47
commit
ee53e16eca
1 changed files with 4 additions and 0 deletions
|
|
@ -479,6 +479,10 @@ kpxcFields.isOverlayOnTop = function(rect) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (getComputedStyle(overlay).visibility != 'visible') {
|
||||
continue;
|
||||
}
|
||||
|
||||
const overlayRect = overlay?.getBoundingClientRect();
|
||||
if (overlayRect && elementsOverlap(rect, overlayRect)) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue