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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user