Bug 1943971 - Let moving tabs to start/end not keep or put them in groups. r=jswinarton,tabbrowser-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D236318
This commit is contained in:
Dão Gottwald
2025-02-03 10:15:25 +00:00
parent da78347172
commit bc676fe35e
3 changed files with 86 additions and 23 deletions

View File

@@ -1162,8 +1162,8 @@
}
}
} else if (draggedTab) {
// Move the tabs. To avoid multiple tab-switches in the original window,
// the selected tab should be adopted last.
// Move the tabs into this window. To avoid multiple tab-switches in
// the original window, the selected tab should be adopted last.
const dropIndex = this._getDropIndex(event);
let newIndex = dropIndex;
let selectedTab;