diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index 2444eac5b59..523b7538643 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -1821,6 +1821,7 @@ this.mTabContainer.childNodes[i]._tPos = i; } this.mCurrentTab.selected = true; + this.mTabContainer.mTabstrip.scrollBoxObject.ensureElementIsVisible(this.mCurrentTab); var evt = document.createEvent("UIEvents"); evt.initUIEvent("TabMove", true, false, window, oldPosition);