feat(desktop): polish tooltips and session search (#34632)

This commit is contained in:
usrnk1
2026-06-30 17:00:25 +02:00
committed by GitHub
parent 20445ca031
commit fced9c5a2f
8 changed files with 19 additions and 13 deletions

View File

@@ -107,6 +107,8 @@ export function Tooltip(props: TooltipProps) {
<Match when={true}>
<KobalteTooltip
gutter={4}
openDelay={400}
skipDelayDuration={300}
{...others}
closeDelay={0}
ignoreSafeArea={local.ignoreSafeArea ?? true}

View File

@@ -55,3 +55,10 @@
transform: scale(0.96);
}
}
@media (prefers-reduced-motion: reduce) {
[data-component="tooltip-v2"],
[data-component="tooltip-v2"][data-closed] {
animation: none;
}
}

View File

@@ -88,8 +88,9 @@ export function TooltipV2(props: TooltipV2Props) {
<Match when={true}>
<KobalteTooltip
gutter={4}
openDelay={400}
skipDelayDuration={300}
{...others}
openDelay={0}
closeDelay={0}
ignoreSafeArea={local.ignoreSafeArea ?? true}
open={local.forceOpen || state.open}