Bug 1203134, autocomplete popup not positioned properly when it appears upwards, e10s only, r=felipe

This commit is contained in:
Neil Deakin 2015-09-14 15:18:42 -04:00
parent 588a07e482
commit 44056c0f4a

View File

@ -98,7 +98,9 @@ this.AutoCompleteE10S = {
this.popup.style.direction = direction;
this.x = rect.left;
this.y = rect.top + rect.height;
this.y = rect.top;
this.width = rect.width;
this.height = rect.height;
},
_showPopup: function(results) {
@ -125,7 +127,7 @@ this.AutoCompleteE10S = {
this.popup.mInput = null;
this.popup.showCommentColumn = false;
this.popup.showImageColumn = false;
this.popup.openPopupAtScreen(this.x, this.y, true);
this.popup.openPopupAtScreenRect("after_start", this.x, this.y, this.width, this.height, false, false);
} else {
this.popup.closePopup();
}