Bug 1934296 - Adding a tab to a collapsed group should expand the group. r=tabbrowser-reviewers,jswinarton

Differential Revision: https://phabricator.services.mozilla.com/D230982
This commit is contained in:
Dão Gottwald
2024-12-03 18:15:28 +00:00
parent 7bfdaa5fc8
commit db518f5774
3 changed files with 11 additions and 0 deletions

View File

@@ -329,6 +329,9 @@
if (tab.hasAttribute("fadein")) {
if (tab._fullyOpen) {
this._updateCloseButtons();
if (tab.group && tab == tab.group.lastChild) {
this._notifyBackgroundTab(tab);
}
} else {
this._handleNewTab(tab);
}