autohiding: don't apply transforms when moving a tab

This fixes an issue that occurs on linux where :hover state is lost when
drag session begins.
This commit is contained in:
MrOtherGuy
2025-03-15 16:15:36 +02:00
parent e127ec9379
commit ad7f192385
2 changed files with 3 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ See the above repository for updates as well as full license text. */
transition: visibility 0ms linear var(--uc-tabs-hide-animation-delay),
margin-bottom var(--uc-tabs-hide-animation-duration) ease-out var(--uc-tabs-hide-animation-delay) !important;
}
#navigator-toolbox:hover{
#navigator-toolbox:is(:hover,[movingtab]){
transition-delay: 0s !important;
> #TabsToolbar{
visibility: visible;

View File

@@ -43,7 +43,7 @@ See the above repository for updates as well as full license text. */
transform: rotateX(89.9deg);
}
#mainPopupSet:has(> [panelopen]:not(#ask-chat-shortcuts,#tab-preview-panel)) ~ toolbox #urlbar[popover],
#navigator-toolbox:is(:hover,:focus-within) #urlbar[popover],
#navigator-toolbox:is(:hover,:focus-within,[movingtab]) #urlbar[popover],
#urlbar-container > #urlbar[popover]:is([focused],[open]){
pointer-events: auto;
opacity: 1;
@@ -52,8 +52,7 @@ See the above repository for updates as well as full license text. */
}
#mainPopupSet:has(> [panelopen]:not(#ask-chat-shortcuts,#tab-preview-panel)) ~ toolbox,
#navigator-toolbox:has(#urlbar:is([open],[focus-within])),
#navigator-toolbox:hover,
#navigator-toolbox:focus-within{
#navigator-toolbox:is(:hover,:focus-within,[movingtab]){
transition-delay: 33ms !important;
transform: rotateX(0);
opacity: 1;