Bug 1579515 - Fix Megabar hidden-focus behaviour. r=dao
authorHarry Twyford <htwyford@mozilla.com>
Sun, 08 Sep 2019 04:15:01 +0000
changeset 553493 142580ab428c749119912cf4ad648a6017745e45
parent 553492 09bbd48441214bf0623e773b5e316fa31570d1ab
child 553494 d8c98c89a57d169e321c55d55730132bcc178301
push id12169
push userffxbld-merge
push dateMon, 14 Oct 2019 16:59:29 +0000
treeherdermozilla-beta@c819687300ed [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1579515
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1579515 - Fix Megabar hidden-focus behaviour. r=dao Differential Revision: https://phabricator.services.mozilla.com/D45074
browser/components/urlbar/UrlbarInput.jsm
--- a/browser/components/urlbar/UrlbarInput.jsm
+++ b/browser/components/urlbar/UrlbarInput.jsm
@@ -820,16 +820,17 @@ class UrlbarInput {
   }
 
   /**
    * Remove the hidden focus styles.
    * This is used by Activity Stream and about:privatebrowsing for search hand-off.
    */
   removeHiddenFocus() {
     this.textbox.classList.remove("hidden-focus");
+    this.startLayoutBreakout();
   }
 
   // Getters and Setters below.
 
   get editor() {
     return this.inputField.editor;
   }