Bug 1395438 - The bookmarks panel should fade out when it times out, not close abruptly. r?adw draft
authorJared Wein <jwein@mozilla.com>
Thu, 31 Aug 2017 00:27:07 -0400
changeset 656381 1be18c463c9f9de35aafdb116ace631e06631598
parent 655774 ab2d700fda2b4934d24227216972dce9fac19b74
child 729120 cd2b9c86721b14fd8ea4203f8c8d7112f370eac6
push id77192
push userbmo:jaws@mozilla.com
push dateThu, 31 Aug 2017 04:27:25 +0000
reviewersadw
bugs1395438
milestone57.0a1
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;
     }
   },