Bug 1373969 - update overflow chevron state when resetting, r?jaws
MozReview-Commit-ID: IO6fEMHeowT
--- a/browser/components/customizableui/content/panelUI.js
+++ b/browser/components/customizableui/content/panelUI.js
@@ -635,16 +635,22 @@ const PanelUI = {
}
if (!aIsRemoval &&
(this.panel.state == "open" ||
document.documentElement.hasAttribute("customizing"))) {
this._adjustLabelsForAutoHyphens(aNode);
}
},
+ onAreaReset(aArea, aContainer) {
+ if (gPhotonStructure && aContainer == this.overflowFixedList) {
+ this.updateOverflowStatus();
+ }
+ },
+
/**
* Signal that we're about to make a lot of changes to the contents of the
* panels all at once. For performance, we ignore the mutations.
*/
beginBatchUpdate() {
this._ensureEventListenersAdded();
this.multiView.ignoreMutations = true;
},