Bug 1395438 - The bookmarks panel should fade out when it times out, not close abruptly. r=adw
authorJared Wein <jwein@mozilla.com>
Thu, 31 Aug 2017 00:27:07 -0400
changeset 378003 2b3fcd296b8b98cc39b001daf89177998a215321
parent 378002 2f514d66bb019f15d83a51c968ec82fbf42e4443
child 378004 5df6f8fe6c50631fe00f47b69d16b8d555d90503
push id32421
push userarchaeopteryx@coole-files.de
push dateFri, 01 Sep 2017 08:31:26 +0000
treeherdermozilla-central@583e73fb8e3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadw
bugs1395438
milestone57.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 1395438 - The bookmarks panel should fade out when it times out, not close abruptly. r=adw MozReview-Commit-ID: 2alzsK8M9Xb
browser/base/content/browser-places.js
--- a/browser/base/content/browser-places.js
+++ b/browser/base/content/browser-places.js
@@ -245,17 +245,17 @@ var StarUI = {
           // browser/extensions/pocket/content/panels/js/saved.js
           let delay = 3500;
           if (this._closePanelQuickForTesting) {
             delay /= 10;
           }
           clearTimeout(this._autoCloseTimer);
           this._autoCloseTimer = setTimeout(() => {
             if (!this.panel.mozMatchesSelector(":hover")) {
-              this.panel.hidePopup();
+              this.panel.hidePopup(true);
             }
           }, delay);
           this._autoCloseTimerEnabled = true;
         }
         break;
     }
   },