Show hover effect on dragging tab (#1459)

This commit is contained in:
Evan Simkowitz 2024-12-10 11:41:37 -08:00 committed by GitHub
parent f8111feba3
commit bedea6d3be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -103,7 +103,8 @@
}
// Only apply hover effects when not in nohover mode. This prevents the previously-hovered tab from remaining hovered while a tab view is not mounted.
body:not(.nohover) .tab:hover {
body:not(.nohover) .tab:hover,
body:not(.nohover) .tab.dragging {
& + .tab::after,
&::after {
content: none;

View file

@ -200,7 +200,7 @@ const Tab = memo(
ref={tabRef}
className={clsx("tab", {
active,
isDragging,
dragging: isDragging,
"before-active": isBeforeActive,
"new-tab": isNew,
})}