Bug 1523957 - Fix places-tree horizontal scrollbar by calling super.connectedCallback;r=bgrins
authorBrian Grinstead <bgrinstead@mozilla.com>
Thu, 21 Feb 2019 17:37:00 -0800
changeset 460358 e70117d89f29bad9d54d1bb61f680fea5dc40cc0
parent 460357 20b3e9001dbc9b745c491bb422e158e9561e2938
child 460359 086f0ad274878ad9982cc088bad6e170e260c96a
child 460460 93c4470ee3af339226fe5ccb8db273be87b9935a
push id112081
push userbgrinstead@mozilla.com
push dateFri, 22 Feb 2019 01:40:39 +0000
treeherdermozilla-inbound@e70117d89f29 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins
bugs1523957
milestone67.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 1523957 - Fix places-tree horizontal scrollbar by calling super.connectedCallback;r=bgrins Just a quick followup to remove the always-shown horizontal scrollbars on places trees.
browser/components/places/content/places-tree.js
--- a/browser/components/places/content/places-tree.js
+++ b/browser/components/places/content/places-tree.js
@@ -112,17 +112,17 @@
         PlacesControllerDragHelper.currentDropTarget = null;
       });
     }
 
     connectedCallback() {
       if (this.delayConnectedCallback()) {
         return;
       }
-
+      super.connectedCallback();
       this._contextMenuShown = false;
 
       this._active = true;
 
       // Force an initial build.
       if (this.place)
         this.place = this.place;
     }