diff options
| author | Yash Rathore <[email protected]> | 2026-01-22 20:02:13 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-22 08:32:13 -0600 |
| commit | e85b953087803f88b3739d1a708da4ea672373b3 (patch) | |
| tree | 68479f7cca8644e3246e20ab5cdb5a66de294725 | |
| parent | b776ba6b767cd00c82597cee1e272aca176d7d6c (diff) | |
| download | opencode-e85b953087803f88b3739d1a708da4ea672373b3.tar.gz opencode-e85b953087803f88b3739d1a708da4ea672373b3.zip | |
fix(app): clear session hover state on navigation (#10031)
| -rw-r--r-- | packages/app/src/pages/layout.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/app/src/pages/layout.tsx b/packages/app/src/pages/layout.tsx index 595f8e560..4a1640e36 100644 --- a/packages/app/src/pages/layout.tsx +++ b/packages/app/src/pages/layout.tsx @@ -1488,6 +1488,7 @@ export default function Layout(props: ParentProps) { 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"}`} onMouseEnter={() => prefetchSession(props.session, "high")} onFocus={() => prefetchSession(props.session, "high")} + onClick={() => setHoverSession(undefined)} > <div class="flex items-center gap-1 w-full"> <div |
