mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 676321 - Sidebar briefly shows up on orientation change while using form autocomplete (r=mbrubeck)
This commit is contained in:
parent
354933f815
commit
8b78252499
@ -221,6 +221,12 @@ var ContentPopupHelper = {
|
||||
|
||||
case "MozBeforeResize":
|
||||
popup.left = 0;
|
||||
popup.style.visibility = "hidden";
|
||||
|
||||
// When screen orientation changes, we have to ensure that
|
||||
// the popup width doesn't overflow the content's visible
|
||||
// area.
|
||||
popup.firstChild.style.maxWidth = "0px";
|
||||
break;
|
||||
|
||||
case "resize":
|
||||
|
Loading…
Reference in New Issue
Block a user