commit 3b99e965893208aa19491dbcf74c68deb8083bc7
parent 7224b9290783af14f443f77a07f0d82d45331a5d
Author: Nikki Sharpley <nsharpley@mozilla.com>
Date: Tue, 4 Nov 2025 15:18:05 +0000
Bug 1996300 - Tab group underline visual state should clear if the dragged tab is above/to the left r=tabbrowser-reviewers,sthompson
Differential Revision: https://phabricator.services.mozilla.com/D271228
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/browser/components/tabbrowser/content/drag-and-drop.js b/browser/components/tabbrowser/content/drag-and-drop.js
@@ -2227,7 +2227,7 @@
gBrowser._tabGroupsEnabled &&
isTab(draggedTab) &&
!isPinned &&
- (!numPinned || newDropElementIndex > numPinned)
+ (!numPinned || newDropElementIndex >= numPinned)
) {
let dragOverGroupingThreshold = 1 - moveOverThreshold;
let groupingDelay = Services.prefs.getIntPref(
diff --git a/browser/components/tabbrowser/content/tab-stacking.js b/browser/components/tabbrowser/content/tab-stacking.js
@@ -885,7 +885,7 @@
gBrowser._tabGroupsEnabled &&
isTab(draggedTab) &&
!isPinned &&
- (!numPinned || newDropElementIndex > numPinned)
+ (!numPinned || newDropElementIndex >= numPinned)
) {
let dragOverGroupingThreshold = 1 - moveOverThreshold;
let groupingDelay = Services.prefs.getIntPref(