Skip to content

Commit

Permalink
fix(ui5-popover): allow opening if opener is not fully visible (#1448)
Browse files Browse the repository at this point in the history
  • Loading branch information
fifoosid committed Apr 9, 2020
1 parent 7a5a33c commit a10fde5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/main/src/Popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,10 @@ class Popover extends UI5Element {
const threshold = 32;

const limits = {
"Right": openerRect.top,
"Left": openerRect.top,
"Right": openerRect.right,
"Left": openerRect.left,
"Top": openerRect.top,
"Bottom": openerRect.top,
"Bottom": openerRect.bottom,
};

const closedPopupParent = getClosedPopupParent(this._opener);
Expand Down

0 comments on commit a10fde5

Please sign in to comment.