mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 1203134, autocomplete popup not positioned properly when it appears upwards, e10s only, r=felipe
This commit is contained in:
parent
2269201059
commit
db96a95419
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user