Skip to content

Commit a10fde5

Browse files
authored
fix(ui5-popover): allow opening if opener is not fully visible (#1448)
1 parent 7a5a33c commit a10fde5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/main/src/Popover.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -422,10 +422,10 @@ class Popover extends UI5Element {
422422
const threshold = 32;
423423

424424
const limits = {
425-
"Right": openerRect.top,
426-
"Left": openerRect.top,
425+
"Right": openerRect.right,
426+
"Left": openerRect.left,
427427
"Top": openerRect.top,
428-
"Bottom": openerRect.top,
428+
"Bottom": openerRect.bottom,
429429
};
430430

431431
const closedPopupParent = getClosedPopupParent(this._opener);

0 commit comments

Comments
 (0)