mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 676321 - Do not reset popup position on content resize, panning, and zooming (r=mbrubeck)
We control the sidebar side effects by zeroing the maximum width of the popup every time the window size changes.
This commit is contained in:
parent
8b78252499
commit
0dcc2dd592
@ -210,7 +210,6 @@ var ContentPopupHelper = {
|
||||
|
||||
case "PanBegin":
|
||||
case "AnimatedZoomBegin":
|
||||
popup.left = 0;
|
||||
popup.style.visibility = "hidden";
|
||||
break;
|
||||
|
||||
@ -220,7 +219,6 @@ var ContentPopupHelper = {
|
||||
break;
|
||||
|
||||
case "MozBeforeResize":
|
||||
popup.left = 0;
|
||||
popup.style.visibility = "hidden";
|
||||
|
||||
// When screen orientation changes, we have to ensure that
|
||||
|
Loading…
Reference in New Issue
Block a user