diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index 6bc9d17fbee..066fb2fb19a 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -2705,6 +2705,8 @@ switch (aEvent.type) { case "overflow": this.setAttribute("overflow", "true"); + this.mTabstrip.scrollBoxObject + .ensureElementIsVisible(this.selectedItem); break; case "underflow": this.removeAttribute("overflow");