Fix Bug 50498
This commit is contained in:
parent
391b7479d5
commit
b03132d69e
|
@ -128,6 +128,9 @@ define([
|
|||
bottom = Common.Utils.innerHeight() - showxy.top - this.target.height()/2;
|
||||
} else if (pos == 'bottom') {
|
||||
top = showxy.top + this.target.height()/2;
|
||||
var height = this.cmpEl.height();
|
||||
if (top+height>Common.Utils.innerHeight())
|
||||
top = Common.Utils.innerHeight() - height - 10;
|
||||
} else if (pos == 'left') {
|
||||
right = Common.Utils.innerWidth() - showxy.left - this.target.width()/2;
|
||||
} else if (pos == 'right') {
|
||||
|
|
Loading…
Reference in a new issue