Skip to content

Commit e85b953

Browse files
authored
fix(app): clear session hover state on navigation (anomalyco#10031)
1 parent b776ba6 commit e85b953

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/app/src/pages/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,6 +1488,7 @@ export default function Layout(props: ParentProps) {
14881488
class={`flex items-center justify-between gap-3 min-w-0 text-left w-full focus:outline-none transition-[padding] group-hover/session:pr-7 group-focus-within/session:pr-7 group-active/session:pr-7 ${props.dense ? "py-0.5" : "py-1"}`}
14891489
onMouseEnter={() => prefetchSession(props.session, "high")}
14901490
onFocus={() => prefetchSession(props.session, "high")}
1491+
onClick={() => setHoverSession(undefined)}
14911492
>
14921493
<div class="flex items-center gap-1 w-full">
14931494
<div

0 commit comments

Comments
 (0)