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 377980 2b3fcd296b8b98cc39b001daf89177998a215321
parent 377979 2f514d66bb019f15d83a51c968ec82fbf42e4443
child 377981 5df6f8fe6c50631fe00f47b69d16b8d555d90503
push id50127
push userjwein@mozilla.com
push dateThu, 31 Aug 2017 14:19:49 +0000
treeherderautoland@2b3fcd296b8b [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;
     }
   },